using DAO;
using Easislides.Properties;
using System;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Text;
using System.Windows.Forms;
namespace Easislides
{
	public class FrmInfoScreen : Form
	{
		private enum ControlsBtn
		{
			PlayPausebtn,
			Stopbtn,
			FFbtn,
			FRbtn,
			Closebtn
		}
		private const int MaxRotateContainers = 1024;
		private IContainer components = null;
		private ToolStrip toolStrip1;
		private StatusStrip statusStrip1;
		private SplitContainer splitContainer1;
		private Panel panelR1Top;
		private Panel panelR1Left;
		private RichTextBox tbLyrics1;
		private Label LabeltbLyrics;
		private Panel panelR1LeftMiddle;
		private Button R1Chinese;
		private Button R1BtnNotations;
		private Button R1BtnEnding;
		private Button R1BtnBridge;
		private Button R1BtnChorus2;
		private Button R1BtnChorus;
		private Button R1Btn10;
		private Button R1Btn9;
		private Button R1Btn8;
		private Button R1Btn7;
		private Button R1Btn6;
		private Button R1Btn5;
		private Button R1Btn4;
		private Button R1Btn3;
		private Button R1Btn2;
		private Button R1Btn1;
		private Panel panel6;
		private ToolStripButton Main_New;
		private ToolStripButton Main_Save;
		private ToolStripButton Main_Import;
		private ToolStripSeparator toolStripSeparator1;
		private ToolStripButton Main_WordWrap;
		private ToolStripSeparator toolStripSeparator2;
		private ToolStripButton Main_TransposeDown;
		private ToolStripButton Main_TransposeUp;
		private ToolStripSeparator toolStripSeparator4;
		private ToolStripComboBox ComboFontName;
		private ToolStripComboBox ComboMainFontSize;
		private ToolStripComboBox ComboNotationFontSize;
		private Button R1Redo;
		private Button R1Undo;
		private MenuStrip menuStripMain;
		private ToolStripMenuItem Menu_MainFile;
		private ToolStripMenuItem Menu_New;
		private ToolStripMenuItem Menu_Save;
		private ToolStripSeparator toolStripSeparator16;
		private ToolStripMenuItem Menu_EditHistoryList;
		private ToolStripSeparator toolStripSeparator18;
		private ToolStripMenuItem Menu_Exit;
		private ToolStripMenuItem Menu_MainTools;
		private ToolStripMenuItem Menu_TransposeDown;
		private ToolStripMenuItem Menu_TransposeUp;
		private Timer TimerEditRequest;
		private OpenFileDialog OpenFileDialog1;
		private SplitContainer splitContainerMain;
		private ToolTip toolTip1;
		private Button R1VerseFormat;
		private Button R1BtnNewScreen;
		private ToolStripMenuItem Menu_Import;
		private ToolStripMenuItem Menu_WordWrap;
		private ToolStripSeparator Menu_EditHistorySeparator;
		private GroupBox groupBox2;
		private Panel panelVerses;
		private ListView VersesList;
		private ColumnHeader columnHeader1;
		private ColumnHeader columnHeader2;
		private Panel panel2;
		private Label label16;
		private Panel panelOrderList;
		private ListView OrderList;
		private ColumnHeader columnHeader3;
		private ColumnHeader columnHeader4;
		private Panel panel4;
		private Label label17;
		private Panel panelSeqUpDown;
		private ToolStrip toolStripSeqUpDown;
		private ToolStripButton OrderList_Up;
		private ToolStripButton OrderList_Down;
		private ToolStripSeparator toolStripSeparator5;
		private ToolStripButton OrderList_Delete;
		private Panel panelSeqSet;
		private ToolStrip toolStripSeqSet;
		private ToolStripButton Verses_Add;
		private ToolStripButton Verses_SmartAdd;
		private GroupBox groupBox1;
		private Panel panel7;
		private Panel panelLinkTitle2Lookup;
		private ToolStrip toolStrip2;
		private ToolStripButton Title2_LookUp;
		private Panel LinkTitle2Pic;
		private ComboBox SongFolder;
		private TextBox CopyrightInfo;
		private Label label2;
		private TextBox WriterInfo;
		private Label label3;
		private TextBox SongTitle2;
		private Label label4;
		private TextBox SongTitle;
		private Label label5;
		private Panel panel8;
		private Label label6;
		private TextBox UserReference;
		private Label label8;
		private TextBox BookReference;
		private Label label9;
		private Label label10;
		private ComboBox LicAdminInfo2;
		private Label label7;
		private ComboBox LicAdminInfo1;
		private ComboBox SongTiming;
		private Label label13;
		private ComboBox SongKey;
		private TextBox SongNumber;
		private ComboBox SongCapo;
		private Label label11;
		private Label label12;
		private Label labelFormat;
		private Button Btn_BookRef;
		private Button Btn_UserRef;
		private Button Btn_Title;
		private Button Btn_Copyright;
		private Button Btn_Writer;
		private Button Btn_Title2;
		private Button R1BtnPreChorus2;
		private Button R1BtnPreChorus;
		private TabControl tabRightPane;
		private TabPage tabRight_Region2;
		private Panel panelR2All;
		private RichTextBox tbLyrics2;
		private Panel panelR2Top;
		private Label LabeltbLyrics2;
		private Panel panelR2Left;
		private Button SyncBtnDown;
		private Button SyncBtnUp;
		private Panel panelR2LeftMiddle;
		private Button R2BtnPreChorus2;
		private Button R2BtnPreChorus;
		private Button R2VerseFormat;
		private Button R2BtnNewScreen;
		private Button R2Redo;
		private Button R2Undo;
		private Button R2Chinese;
		private Button R2BtnNotations;
		private Button R2BtnEnding;
		private Button R2BtnBridge;
		private Button R2BtnChorus2;
		private Button R2BtnChorus;
		private Button R2Btn10;
		private Button R2Btn9;
		private Button R2Btn8;
		private Button R2Btn7;
		private Button R2Btn6;
		private Button R2Btn5;
		private Button R2Btn4;
		private Button R2Btn3;
		private Button R2Btn2;
		private Button R2Btn1;
		private TabPage tabRight_Rotate;
		private Panel panelRotate;
		private SplitContainer splitContainerRotate;
		private GroupBox groupBoxRotateVerses;
		private Panel panelRotate_Verses;
		private ListView Rotate_VersesList;
		private ColumnHeader columnHeader6;
		private ColumnHeader columnHeader7;
		private ColumnHeader columnHeader8;
		private Panel panel10;
		private Label label23;
		private Panel panelRotate_OrderList;
		private ListView Rotate_OrderList;
		private ColumnHeader columnHeader9;
		private ColumnHeader columnHeader10;
		private Panel panel12;
		private Label label24;
		private Panel panel13;
		private ToolStrip toolStripRotate_SeqSet;
		private ToolStripButton Rotate_Verses_Add;
		private ToolStripButton Rotate_Verses_SmartAdd;
		private Panel panel14;
		private ToolStrip toolStripRotate_SeqUpDown;
		private ToolStripButton Rotate_OrderList_Up;
		private ToolStripButton Rotate_OrderList_Down;
		private ToolStripSeparator toolStripSeparator3;
		private ToolStripButton Rotate_OrderList_Delete;
		private Panel panelRotate_Sample;
		private Button btnAddPosition;
		private Label LabelMediaType;
		private Label labelMed;
		private Panel panelRotate_Media;
		private Panel panelNoPlayer;
		private Label label14;
		private Label labelNoPlayer1;
		private Label labelNoPlayer2;
		private Label labelPos;
		private Label LabelPosition;
		private Panel panelLoc;
		private ToolStrip toolStrip3;
		private ToolStripButton Rotate_LocationBtn;
		private Label LabelDuration;
		private Button btnDuration;
		private TextBox Rotate_tbSourceLocation;
		private TrackBar TrackBarVolume;
		private Panel panelPlayBtns;
		private TrackBar TrackBarDuration;
		private Button StopBtn;
		private Button PlayPauseBtn;
		private Button FastReverseBtn;
		private Button FastForwardBtn;
		private Label labelVol;
		private Panel panelRotateLeft;
		private FlowLayoutPanel flowLayoutRotate;
		private Panel panelRotateLeftTop2;
		private DateTimePicker Rotate_TimeTotal;
		private Button btnClearMediaPositions;
		private Label label21;
		private Label label19;
		private Panel panelRotateLeftTop1;
		private GroupBox groupBox3;
		private NumericUpDown Rotate_SlidesGapUpDown;
		private RadioButton Rotate_Equal;
		private RadioButton Rotate_Multiple;
		private ToolStripStatusLabel toolStripStatusLabel1;
		private Timer TimerFast;
		private Timer TimerAttemptConnect;
		private Timer TimerTrack;
		private Button R1BtnBridge2;
		private Button R2BtnBridge2;
		private ContextMenuStrip CMRegion1;
		private ToolStripMenuItem CMRegion1_Copy;
		private ToolStripMenuItem CMRegion1_Paste;
		private ContextMenuStrip CMRegion2;
		private ToolStripMenuItem CMRegion2_Copy;
		private ToolStripMenuItem CMRegion2_Paste;
		private ToolStripSeparator toolStripSeparator6;
		private ToolStripMenuItem Menu_ShowAllButtons;
		private Panel panel3;
		private Panel panelR1LeftTop;
		private Panel panelR1LeftBottom;
		private Panel panel1;
		private Panel panelR2LeftTop;
		private Panel panelR2LeftBottom;
		private ToolStripMenuItem Menu_SaveAs;
		private SaveFileDialog saveFileDialog1;
		private ToolStripButton Main_SaveExit;
		private ToolStripMenuItem Menu_SaveExit;
		private CheckBox R1RightToLeft;
		private CheckBox R2RightToLeft;
		private ToolStripMenuItem Menu_ChordsMenu;
		private ToolStripButton Main_ChordsMenu;
		private Label labelDur;
		private bool InitLoad = true;
		private PopupWindowHelper popupHelper = null;
		private string PopupBtnPressed = "";
		private string Lyrics1SavedCopy = "";
		private string Lyrics2SavedCopy = "";
		private string wArray = "";
		private int[] VerseListIndex = new int[160];
		private bool LyricsVisited;
		private bool VerseSymbolChanged;
		private bool[] prevVersePresent = new bool[160];
		private bool[] VersePresent = new bool[160];
		private int[] VersePresentNewScreenCount = new int[160];
		private string SongLyrics;
		private bool InsertAction;
		private int LeftMargin;
		private byte[] VerseArray;
		private string SQLFolderLookUp;
		private string SavedFileName;
		private string SavedWriterInfo;
		private string SavedCopyrightInfo;
		private string SavedSequence;
		private string SavedFolder;
		private string SavedUserReference;
		private string SavedBookReference;
		private string SavedSongNumber;
		private string SavedTitle2;
		private string SavedTitle;
		private string OrderListSequence;
		private string SavedMusicNotations;
		private string SavedSongTiming;
		private string SavedSongKey;
		private string SavedCapo;
		private string SavedLicAdminInfo2;
		private string SavedLicAdminInfo1;
		private string SavedRotateString;
		private string ThisItemFileName = "";
		private int countc;
		private int counta;
		private bool Title2IgnoreChange;
		private long countb;
		private string InitSongTitle2;
		private int FormState;
		private string[] sArray;
		private bool LoadingSong = false;
		private int LastCurPos = 0;
		private Font MainFont;
		private Font NotationFont;
		private bool CurFolderFound = false;
		private bool FormCanClose = false;
		private bool IgnoreChange = false;
		private bool InsertingPresetItem = false;
		private int StackArrayMaxPoint = 100;
		private bool SetWordWrap = true;
		private bool SetChordsMenu = true;
		private bool SetRightToLeft1 = true;
		private bool SetRightToLeft2 = true;
		private int[,] StackTrackPos = new int[3, 2];
		private int[] StackMaxRedo = new int[3];
		private int[] StackIndex = new int[3];
		private int[] StackStartPoint = new int[3];
		private string[,] sStack = new string[3, 1000];
		private int[,] iCursorPosition = new int[3, 1000];
		private string[] Info_HeaderData = new string[255];
		private string CurFileName = "";
		private string PreviousFileDir = "";
		private string CombinedLyrics = "";
		private string CombinedNotations = "";
		private bool InitFontsLists = true;
		private int PrevSplitterDistance = 0;
		private bool TopPanelLocked = true;
		private RichTextBox tbWorkspace = new RichTextBox();
		private RichTextBox tbTempSpace = new RichTextBox();
		private string Lyrics1SavedNotations = "";
		private string Lyrics1Only = "";
		private string Lyrics2SavedNotations = "";
		private string Lyrics2Only = "";
		private string Reg_FormLeft = "InfoScreenDBLeft";
		private string Reg_FormTop = "InfoScreenDBTop";
		private string Reg_FormWidth = "InfoScreenDBWidth";
		private string Reg_FormHeight = "InfoScreenDBHeight";
		private string Reg_FormMax = "InfoScreenDBMax";
		private string Reg_FormWordWrap = "InfoScreenDB_WordWrap";
		private string Reg_FormSetChordsMenu = "InfoScreenDB_ChordsMenu";
		private string Reg_FormLyricsSplit = "InfoScreenDB_LyricsSplit";
		private string Reg_FormRegion2Tab = "InfoScreenDB_Region2Tab";
		private ListView tempSequenceCopied = new ListView();
		private ListView ListViewNotations = new ListView();
		private ListView ListViewNotationLog = new ListView();
		private ListView ScreenBreaks1 = new ListView();
		private ListView ScreenBreaks2 = new ListView();
		private bool ScreenBreak1Available = false;
		private bool ScreenBreak2Available = false;
		private string RotateString = "";
		private DateTime InitDateTime = new DateTime(2005, 1, 1, 0, 0, 0);
		private int RotateTotalScreensIndex = -1;
		private double TimeIncrement = 1.0;
		private DateTimePicker[] RotateTimePosition = new DateTimePicker[1024];
		private Label[] RotateTimeLabel = new Label[1024];
		private int AttemptConnectCount = 0;
		private int MaxAttemptConnectCount = 60;
		private double CurMediaPosition = 0.0;
		private double CurMediaLength = 0.0;
		private int[] VerseScreenCount = new int[160];
		private DShowLib DShowPlayer = new DShowLib();
		private bool PlayerOK = false;
		private int tbLyrics1MouseUpPos = 0;
		private int tbLyrics2MouseUpPos = 0;
		private bool SplitterReAdjust = false;
		protected override void Dispose(bool disposing)
		{
			if (disposing && this.components != null)
			{
				this.components.Dispose();
			}
			base.Dispose(disposing);
		}
		private void InitializeComponent()
		{
            this.components = new System.ComponentModel.Container();
            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
            this.Main_New = new System.Windows.Forms.ToolStripButton();
            this.Main_Save = new System.Windows.Forms.ToolStripButton();
            this.Main_SaveExit = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.Main_Import = new System.Windows.Forms.ToolStripButton();
            this.Main_WordWrap = new System.Windows.Forms.ToolStripButton();
            this.Main_ChordsMenu = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.Main_TransposeDown = new System.Windows.Forms.ToolStripButton();
            this.Main_TransposeUp = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
            this.ComboFontName = new System.Windows.Forms.ToolStripComboBox();
            this.ComboMainFontSize = new System.Windows.Forms.ToolStripComboBox();
            this.ComboNotationFontSize = new System.Windows.Forms.ToolStripComboBox();
            this.statusStrip1 = new System.Windows.Forms.StatusStrip();
            this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.tbLyrics1 = new System.Windows.Forms.RichTextBox();
            this.CMRegion1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.CMRegion1_Copy = new System.Windows.Forms.ToolStripMenuItem();
            this.CMRegion1_Paste = new System.Windows.Forms.ToolStripMenuItem();
            this.panelR1Top = new System.Windows.Forms.Panel();
            this.LabeltbLyrics = new System.Windows.Forms.Label();
            this.panelR1Left = new System.Windows.Forms.Panel();
            this.panel3 = new System.Windows.Forms.Panel();
            this.panelR1LeftBottom = new System.Windows.Forms.Panel();
            this.R1RightToLeft = new System.Windows.Forms.CheckBox();
            this.R1Chinese = new System.Windows.Forms.Button();
            this.panelR1LeftMiddle = new System.Windows.Forms.Panel();
            this.R1BtnBridge2 = new System.Windows.Forms.Button();
            this.R1BtnPreChorus2 = new System.Windows.Forms.Button();
            this.R1BtnChorus2 = new System.Windows.Forms.Button();
            this.R1BtnPreChorus = new System.Windows.Forms.Button();
            this.R1BtnChorus = new System.Windows.Forms.Button();
            this.R1VerseFormat = new System.Windows.Forms.Button();
            this.R1BtnNewScreen = new System.Windows.Forms.Button();
            this.R1BtnNotations = new System.Windows.Forms.Button();
            this.R1BtnEnding = new System.Windows.Forms.Button();
            this.R1BtnBridge = new System.Windows.Forms.Button();
            this.R1Btn10 = new System.Windows.Forms.Button();
            this.R1Btn9 = new System.Windows.Forms.Button();
            this.R1Btn8 = new System.Windows.Forms.Button();
            this.R1Btn7 = new System.Windows.Forms.Button();
            this.R1Btn6 = new System.Windows.Forms.Button();
            this.R1Btn5 = new System.Windows.Forms.Button();
            this.R1Btn4 = new System.Windows.Forms.Button();
            this.R1Btn3 = new System.Windows.Forms.Button();
            this.R1Btn2 = new System.Windows.Forms.Button();
            this.R1Btn1 = new System.Windows.Forms.Button();
            this.panelR1LeftTop = new System.Windows.Forms.Panel();
            this.R1Undo = new System.Windows.Forms.Button();
            this.R1Redo = new System.Windows.Forms.Button();
            this.tabRightPane = new System.Windows.Forms.TabControl();
            this.tabRight_Region2 = new System.Windows.Forms.TabPage();
            this.panelR2All = new System.Windows.Forms.Panel();
            this.tbLyrics2 = new System.Windows.Forms.RichTextBox();
            this.CMRegion2 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.CMRegion2_Copy = new System.Windows.Forms.ToolStripMenuItem();
            this.CMRegion2_Paste = new System.Windows.Forms.ToolStripMenuItem();
            this.panelR2Top = new System.Windows.Forms.Panel();
            this.LabeltbLyrics2 = new System.Windows.Forms.Label();
            this.panelR2Left = new System.Windows.Forms.Panel();
            this.panel1 = new System.Windows.Forms.Panel();
            this.panelR2LeftBottom = new System.Windows.Forms.Panel();
            this.R2RightToLeft = new System.Windows.Forms.CheckBox();
            this.R2Chinese = new System.Windows.Forms.Button();
            this.panelR2LeftMiddle = new System.Windows.Forms.Panel();
            this.R2BtnBridge2 = new System.Windows.Forms.Button();
            this.R2BtnPreChorus2 = new System.Windows.Forms.Button();
            this.R2BtnPreChorus = new System.Windows.Forms.Button();
            this.R2VerseFormat = new System.Windows.Forms.Button();
            this.R2BtnChorus = new System.Windows.Forms.Button();
            this.R2BtnChorus2 = new System.Windows.Forms.Button();
            this.R2BtnNewScreen = new System.Windows.Forms.Button();
            this.R2BtnNotations = new System.Windows.Forms.Button();
            this.R2BtnEnding = new System.Windows.Forms.Button();
            this.R2BtnBridge = new System.Windows.Forms.Button();
            this.R2Btn10 = new System.Windows.Forms.Button();
            this.R2Btn9 = new System.Windows.Forms.Button();
            this.R2Btn8 = new System.Windows.Forms.Button();
            this.R2Btn7 = new System.Windows.Forms.Button();
            this.R2Btn6 = new System.Windows.Forms.Button();
            this.R2Btn5 = new System.Windows.Forms.Button();
            this.R2Btn4 = new System.Windows.Forms.Button();
            this.R2Btn3 = new System.Windows.Forms.Button();
            this.R2Btn2 = new System.Windows.Forms.Button();
            this.R2Btn1 = new System.Windows.Forms.Button();
            this.panelR2LeftTop = new System.Windows.Forms.Panel();
            this.R2Undo = new System.Windows.Forms.Button();
            this.R2Redo = new System.Windows.Forms.Button();
            this.SyncBtnDown = new System.Windows.Forms.Button();
            this.SyncBtnUp = new System.Windows.Forms.Button();
            this.tabRight_Rotate = new System.Windows.Forms.TabPage();
            this.panelRotate = new System.Windows.Forms.Panel();
            this.splitContainerRotate = new System.Windows.Forms.SplitContainer();
            this.groupBoxRotateVerses = new System.Windows.Forms.GroupBox();
            this.panelRotate_Verses = new System.Windows.Forms.Panel();
            this.Rotate_VersesList = new System.Windows.Forms.ListView();
            this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader8 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.panel10 = new System.Windows.Forms.Panel();
            this.label23 = new System.Windows.Forms.Label();
            this.panelRotate_OrderList = new System.Windows.Forms.Panel();
            this.Rotate_OrderList = new System.Windows.Forms.ListView();
            this.columnHeader9 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader10 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.panel12 = new System.Windows.Forms.Panel();
            this.label24 = new System.Windows.Forms.Label();
            this.panel13 = new System.Windows.Forms.Panel();
            this.toolStripRotate_SeqSet = new System.Windows.Forms.ToolStrip();
            this.Rotate_Verses_Add = new System.Windows.Forms.ToolStripButton();
            this.Rotate_Verses_SmartAdd = new System.Windows.Forms.ToolStripButton();
            this.panel14 = new System.Windows.Forms.Panel();
            this.toolStripRotate_SeqUpDown = new System.Windows.Forms.ToolStrip();
            this.Rotate_OrderList_Up = new System.Windows.Forms.ToolStripButton();
            this.Rotate_OrderList_Down = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
            this.Rotate_OrderList_Delete = new System.Windows.Forms.ToolStripButton();
            this.panelRotate_Sample = new System.Windows.Forms.Panel();
            this.labelDur = new System.Windows.Forms.Label();
            this.btnAddPosition = new System.Windows.Forms.Button();
            this.btnDuration = new System.Windows.Forms.Button();
            this.LabelMediaType = new System.Windows.Forms.Label();
            this.labelMed = new System.Windows.Forms.Label();
            this.panelRotate_Media = new System.Windows.Forms.Panel();
            this.panelNoPlayer = new System.Windows.Forms.Panel();
            this.label14 = new System.Windows.Forms.Label();
            this.labelNoPlayer1 = new System.Windows.Forms.Label();
            this.labelNoPlayer2 = new System.Windows.Forms.Label();
            this.labelPos = new System.Windows.Forms.Label();
            this.LabelPosition = new System.Windows.Forms.Label();
            this.panelLoc = new System.Windows.Forms.Panel();
            this.toolStrip3 = new System.Windows.Forms.ToolStrip();
            this.Rotate_LocationBtn = new System.Windows.Forms.ToolStripButton();
            this.LabelDuration = new System.Windows.Forms.Label();
            this.Rotate_tbSourceLocation = new System.Windows.Forms.TextBox();
            this.TrackBarVolume = new System.Windows.Forms.TrackBar();
            this.panelPlayBtns = new System.Windows.Forms.Panel();
            this.TrackBarDuration = new System.Windows.Forms.TrackBar();
            this.StopBtn = new System.Windows.Forms.Button();
            this.PlayPauseBtn = new System.Windows.Forms.Button();
            this.FastReverseBtn = new System.Windows.Forms.Button();
            this.FastForwardBtn = new System.Windows.Forms.Button();
            this.labelVol = new System.Windows.Forms.Label();
            this.panelRotateLeft = new System.Windows.Forms.Panel();
            this.flowLayoutRotate = new System.Windows.Forms.FlowLayoutPanel();
            this.panelRotateLeftTop2 = new System.Windows.Forms.Panel();
            this.Rotate_TimeTotal = new System.Windows.Forms.DateTimePicker();
            this.btnClearMediaPositions = new System.Windows.Forms.Button();
            this.label21 = new System.Windows.Forms.Label();
            this.label19 = new System.Windows.Forms.Label();
            this.panelRotateLeftTop1 = new System.Windows.Forms.Panel();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.Rotate_SlidesGapUpDown = new System.Windows.Forms.NumericUpDown();
            this.Rotate_Equal = new System.Windows.Forms.RadioButton();
            this.Rotate_Multiple = new System.Windows.Forms.RadioButton();
            this.panel6 = new System.Windows.Forms.Panel();
            this.menuStripMain = new System.Windows.Forms.MenuStrip();
            this.Menu_MainFile = new System.Windows.Forms.ToolStripMenuItem();
            this.Menu_New = new System.Windows.Forms.ToolStripMenuItem();
            this.Menu_Save = new System.Windows.Forms.ToolStripMenuItem();
            this.Menu_SaveAs = new System.Windows.Forms.ToolStripMenuItem();
            this.Menu_SaveExit = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator16 = new System.Windows.Forms.ToolStripSeparator();
            this.Menu_EditHistoryList = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator18 = new System.Windows.Forms.ToolStripSeparator();
            this.Menu_Exit = new System.Windows.Forms.ToolStripMenuItem();
            this.Menu_MainTools = new System.Windows.Forms.ToolStripMenuItem();
            this.Menu_Import = new System.Windows.Forms.ToolStripMenuItem();
            this.Menu_WordWrap = new System.Windows.Forms.ToolStripMenuItem();
            this.Menu_ChordsMenu = new System.Windows.Forms.ToolStripMenuItem();
            this.Menu_EditHistorySeparator = new System.Windows.Forms.ToolStripSeparator();
            this.Menu_TransposeDown = new System.Windows.Forms.ToolStripMenuItem();
            this.Menu_TransposeUp = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
            this.Menu_ShowAllButtons = new System.Windows.Forms.ToolStripMenuItem();
            this.TimerEditRequest = new System.Windows.Forms.Timer(this.components);
            this.OpenFileDialog1 = new System.Windows.Forms.OpenFileDialog();
            this.splitContainerMain = new System.Windows.Forms.SplitContainer();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.panelVerses = new System.Windows.Forms.Panel();
            this.VersesList = new System.Windows.Forms.ListView();
            this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.panel2 = new System.Windows.Forms.Panel();
            this.label16 = new System.Windows.Forms.Label();
            this.panelOrderList = new System.Windows.Forms.Panel();
            this.OrderList = new System.Windows.Forms.ListView();
            this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.panel4 = new System.Windows.Forms.Panel();
            this.label17 = new System.Windows.Forms.Label();
            this.panelSeqSet = new System.Windows.Forms.Panel();
            this.toolStripSeqSet = new System.Windows.Forms.ToolStrip();
            this.Verses_Add = new System.Windows.Forms.ToolStripButton();
            this.Verses_SmartAdd = new System.Windows.Forms.ToolStripButton();
            this.panelSeqUpDown = new System.Windows.Forms.Panel();
            this.toolStripSeqUpDown = new System.Windows.Forms.ToolStrip();
            this.OrderList_Up = new System.Windows.Forms.ToolStripButton();
            this.OrderList_Down = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
            this.OrderList_Delete = new System.Windows.Forms.ToolStripButton();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.panel7 = new System.Windows.Forms.Panel();
            this.Btn_Title2 = new System.Windows.Forms.Button();
            this.Btn_Title = new System.Windows.Forms.Button();
            this.Btn_Copyright = new System.Windows.Forms.Button();
            this.Btn_Writer = new System.Windows.Forms.Button();
            this.SongFolder = new System.Windows.Forms.ComboBox();
            this.panelLinkTitle2Lookup = new System.Windows.Forms.Panel();
            this.toolStrip2 = new System.Windows.Forms.ToolStrip();
            this.Title2_LookUp = new System.Windows.Forms.ToolStripButton();
            this.LinkTitle2Pic = new System.Windows.Forms.Panel();
            this.CopyrightInfo = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.WriterInfo = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.SongTitle2 = new System.Windows.Forms.TextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.SongTitle = new System.Windows.Forms.TextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.labelFormat = new System.Windows.Forms.Label();
            this.panel8 = new System.Windows.Forms.Panel();
            this.Btn_BookRef = new System.Windows.Forms.Button();
            this.Btn_UserRef = new System.Windows.Forms.Button();
            this.label6 = new System.Windows.Forms.Label();
            this.UserReference = new System.Windows.Forms.TextBox();
            this.BookReference = new System.Windows.Forms.TextBox();
            this.label9 = new System.Windows.Forms.Label();
            this.label10 = new System.Windows.Forms.Label();
            this.LicAdminInfo2 = new System.Windows.Forms.ComboBox();
            this.LicAdminInfo1 = new System.Windows.Forms.ComboBox();
            this.SongTiming = new System.Windows.Forms.ComboBox();
            this.label13 = new System.Windows.Forms.Label();
            this.SongKey = new System.Windows.Forms.ComboBox();
            this.SongNumber = new System.Windows.Forms.TextBox();
            this.SongCapo = new System.Windows.Forms.ComboBox();
            this.label11 = new System.Windows.Forms.Label();
            this.label12 = new System.Windows.Forms.Label();
            this.label8 = new System.Windows.Forms.Label();
            this.label7 = new System.Windows.Forms.Label();
            this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
            this.TimerFast = new System.Windows.Forms.Timer(this.components);
            this.TimerAttemptConnect = new System.Windows.Forms.Timer(this.components);
            this.TimerTrack = new System.Windows.Forms.Timer(this.components);
            this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
            this.toolStrip1.SuspendLayout();
            this.statusStrip1.SuspendLayout();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.CMRegion1.SuspendLayout();
            this.panelR1Top.SuspendLayout();
            this.panelR1Left.SuspendLayout();
            this.panel3.SuspendLayout();
            this.panelR1LeftBottom.SuspendLayout();
            this.panelR1LeftMiddle.SuspendLayout();
            this.panelR1LeftTop.SuspendLayout();
            this.tabRightPane.SuspendLayout();
            this.tabRight_Region2.SuspendLayout();
            this.panelR2All.SuspendLayout();
            this.CMRegion2.SuspendLayout();
            this.panelR2Top.SuspendLayout();
            this.panelR2Left.SuspendLayout();
            this.panel1.SuspendLayout();
            this.panelR2LeftBottom.SuspendLayout();
            this.panelR2LeftMiddle.SuspendLayout();
            this.panelR2LeftTop.SuspendLayout();
            this.tabRight_Rotate.SuspendLayout();
            this.panelRotate.SuspendLayout();
            this.splitContainerRotate.Panel1.SuspendLayout();
            this.splitContainerRotate.Panel2.SuspendLayout();
            this.splitContainerRotate.SuspendLayout();
            this.groupBoxRotateVerses.SuspendLayout();
            this.panelRotate_Verses.SuspendLayout();
            this.panel10.SuspendLayout();
            this.panelRotate_OrderList.SuspendLayout();
            this.panel12.SuspendLayout();
            this.panel13.SuspendLayout();
            this.toolStripRotate_SeqSet.SuspendLayout();
            this.panel14.SuspendLayout();
            this.toolStripRotate_SeqUpDown.SuspendLayout();
            this.panelRotate_Sample.SuspendLayout();
            this.panelRotate_Media.SuspendLayout();
            this.panelNoPlayer.SuspendLayout();
            this.panelLoc.SuspendLayout();
            this.toolStrip3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.TrackBarVolume)).BeginInit();
            this.panelPlayBtns.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.TrackBarDuration)).BeginInit();
            this.panelRotateLeft.SuspendLayout();
            this.panelRotateLeftTop2.SuspendLayout();
            this.panelRotateLeftTop1.SuspendLayout();
            this.groupBox3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.Rotate_SlidesGapUpDown)).BeginInit();
            this.menuStripMain.SuspendLayout();
            this.splitContainerMain.Panel1.SuspendLayout();
            this.splitContainerMain.Panel2.SuspendLayout();
            this.splitContainerMain.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.panelVerses.SuspendLayout();
            this.panel2.SuspendLayout();
            this.panelOrderList.SuspendLayout();
            this.panel4.SuspendLayout();
            this.panelSeqSet.SuspendLayout();
            this.toolStripSeqSet.SuspendLayout();
            this.panelSeqUpDown.SuspendLayout();
            this.toolStripSeqUpDown.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.panel7.SuspendLayout();
            this.panelLinkTitle2Lookup.SuspendLayout();
            this.toolStrip2.SuspendLayout();
            this.panel8.SuspendLayout();
            this.SuspendLayout();
            // 
            // toolStrip1
            // 
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.Main_New,
            this.Main_Save,
            this.Main_SaveExit,
            this.toolStripSeparator1,
            this.Main_Import,
            this.Main_WordWrap,
            this.Main_ChordsMenu,
            this.toolStripSeparator2,
            this.Main_TransposeDown,
            this.Main_TransposeUp,
            this.toolStripSeparator4,
            this.ComboFontName,
            this.ComboMainFontSize,
            this.ComboNotationFontSize});
            this.toolStrip1.Location = new System.Drawing.Point(0, 24);
            this.toolStrip1.Name = "toolStrip1";
            this.toolStrip1.Size = new System.Drawing.Size(775, 25);
            this.toolStrip1.TabIndex = 0;
            this.toolStrip1.Text = "toolStrip1";
            // 
            // Main_New
            // 
            this.Main_New.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Main_New.Image = global::Properties.Resources._new;
            this.Main_New.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Main_New.Name = "Main_New";
            this.Main_New.Size = new System.Drawing.Size(23, 22);
            this.Main_New.ToolTipText = "New Item";
            this.Main_New.Click += new System.EventHandler(this.Main_New_Click);
            // 
            // Main_Save
            // 
            this.Main_Save.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Main_Save.Image = global::Properties.Resources.save;
            this.Main_Save.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Main_Save.Name = "Main_Save";
            this.Main_Save.Size = new System.Drawing.Size(23, 22);
            this.Main_Save.ToolTipText = "Save Item";
            this.Main_Save.Click += new System.EventHandler(this.Main_Save_Click);
            // 
            // Main_SaveExit
            // 
            this.Main_SaveExit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Main_SaveExit.Image = global::Properties.Resources.save1;
            this.Main_SaveExit.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Main_SaveExit.Name = "Main_SaveExit";
            this.Main_SaveExit.Size = new System.Drawing.Size(23, 22);
            this.Main_SaveExit.ToolTipText = "Save and Exit";
            this.Main_SaveExit.Click += new System.EventHandler(this.Main_SaveExit_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
            // 
            // Main_Import
            // 
            this.Main_Import.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Main_Import.Image = global::Properties.Resources.import;
            this.Main_Import.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Main_Import.Name = "Main_Import";
            this.Main_Import.Size = new System.Drawing.Size(23, 22);
            this.Main_Import.Text = "toolStripButton5";
            this.Main_Import.ToolTipText = "Import Word/Text File";
            this.Main_Import.Click += new System.EventHandler(this.Main_Import_Click);
            // 
            // Main_WordWrap
            // 
            this.Main_WordWrap.CheckOnClick = true;
            this.Main_WordWrap.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Main_WordWrap.Image = global::Properties.Resources.wrap;
            this.Main_WordWrap.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Main_WordWrap.Name = "Main_WordWrap";
            this.Main_WordWrap.Size = new System.Drawing.Size(23, 22);
            this.Main_WordWrap.ToolTipText = "Word Wrap";
            this.Main_WordWrap.Click += new System.EventHandler(this.Main_WordWrap_Click);
            // 
            // Main_ChordsMenu
            // 
            this.Main_ChordsMenu.CheckOnClick = true;
            this.Main_ChordsMenu.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Main_ChordsMenu.Image = global::Properties.Resources.right_click;
            this.Main_ChordsMenu.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Main_ChordsMenu.Name = "Main_ChordsMenu";
            this.Main_ChordsMenu.Size = new System.Drawing.Size(23, 22);
            this.Main_ChordsMenu.ToolTipText = "Right Click Chords Menu";
            this.Main_ChordsMenu.Click += new System.EventHandler(this.Main_ChordsMenu_Click);
            // 
            // toolStripSeparator2
            // 
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
            // 
            // Main_TransposeDown
            // 
            this.Main_TransposeDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Main_TransposeDown.Image = global::Properties.Resources.left;
            this.Main_TransposeDown.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Main_TransposeDown.Name = "Main_TransposeDown";
            this.Main_TransposeDown.Size = new System.Drawing.Size(23, 22);
            this.Main_TransposeDown.ToolTipText = "Transpose Chord Down";
            this.Main_TransposeDown.Click += new System.EventHandler(this.Main_TransposeDown_Click);
            // 
            // Main_TransposeUp
            // 
            this.Main_TransposeUp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Main_TransposeUp.Image = global::Properties.Resources.right;
            this.Main_TransposeUp.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Main_TransposeUp.Name = "Main_TransposeUp";
            this.Main_TransposeUp.Size = new System.Drawing.Size(23, 22);
            this.Main_TransposeUp.ToolTipText = "Transpose Chord Up";
            this.Main_TransposeUp.Click += new System.EventHandler(this.Main_TransposeUp_Click);
            // 
            // toolStripSeparator4
            // 
            this.toolStripSeparator4.Name = "toolStripSeparator4";
            this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25);
            // 
            // ComboFontName
            // 
            this.ComboFontName.AutoSize = false;
            this.ComboFontName.Name = "ComboFontName";
            this.ComboFontName.Size = new System.Drawing.Size(121, 23);
            this.ComboFontName.Text = "Font Name";
            this.ComboFontName.ToolTipText = "Font Name";
            this.ComboFontName.SelectedIndexChanged += new System.EventHandler(this.ComboFonts_SelectedIndexChanged);
            // 
            // ComboMainFontSize
            // 
            this.ComboMainFontSize.AutoSize = false;
            this.ComboMainFontSize.Name = "ComboMainFontSize";
            this.ComboMainFontSize.Size = new System.Drawing.Size(40, 23);
            this.ComboMainFontSize.Text = "12";
            this.ComboMainFontSize.ToolTipText = "Font Size";
            this.ComboMainFontSize.SelectedIndexChanged += new System.EventHandler(this.ComboFonts_SelectedIndexChanged);
            // 
            // ComboNotationFontSize
            // 
            this.ComboNotationFontSize.AutoSize = false;
            this.ComboNotationFontSize.Name = "ComboNotationFontSize";
            this.ComboNotationFontSize.Size = new System.Drawing.Size(40, 23);
            this.ComboNotationFontSize.Text = "10";
            this.ComboNotationFontSize.ToolTipText = "Notation Size";
            this.ComboNotationFontSize.SelectedIndexChanged += new System.EventHandler(this.ComboFonts_SelectedIndexChanged);
            // 
            // statusStrip1
            // 
            this.statusStrip1.BackColor = System.Drawing.Color.LimeGreen;
            this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripStatusLabel1});
            this.statusStrip1.Location = new System.Drawing.Point(0, 539);
            this.statusStrip1.Name = "statusStrip1";
            this.statusStrip1.Size = new System.Drawing.Size(775, 22);
            this.statusStrip1.TabIndex = 2;
            // 
            // toolStripStatusLabel1
            // 
            this.toolStripStatusLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
            this.toolStripStatusLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.toolStripStatusLabel1.ForeColor = System.Drawing.Color.Black;
            this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
            this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 17);
            // 
            // splitContainer1
            // 
            this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.splitContainer1.Location = new System.Drawing.Point(0, 0);
            this.splitContainer1.Name = "splitContainer1";
            // 
            // splitContainer1.Panel1
            // 
            this.splitContainer1.Panel1.Controls.Add(this.tbLyrics1);
            this.splitContainer1.Panel1.Controls.Add(this.panelR1Top);
            this.splitContainer1.Panel1.Controls.Add(this.panelR1Left);
            // 
            // splitContainer1.Panel2
            // 
            this.splitContainer1.Panel2.Controls.Add(this.tabRightPane);
            this.splitContainer1.Panel2.Controls.Add(this.panel6);
            this.splitContainer1.Panel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.splitContainer1.Size = new System.Drawing.Size(775, 355);
            this.splitContainer1.SplitterDistance = 351;
            this.splitContainer1.TabIndex = 0;
            this.splitContainer1.Text = "splitContainer1";
            // 
            // tbLyrics1
            // 
            this.tbLyrics1.AutoWordSelection = true;
            this.tbLyrics1.ContextMenuStrip = this.CMRegion1;
            this.tbLyrics1.DetectUrls = false;
            this.tbLyrics1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tbLyrics1.EnableAutoDragDrop = true;
            this.tbLyrics1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tbLyrics1.HideSelection = false;
            this.tbLyrics1.Location = new System.Drawing.Point(55, 16);
            this.tbLyrics1.Name = "tbLyrics1";
            this.tbLyrics1.Size = new System.Drawing.Size(292, 335);
            this.tbLyrics1.TabIndex = 0;
            this.tbLyrics1.Text = "";
            this.tbLyrics1.SelectionChanged += new System.EventHandler(this.tbLyrics_SelectionChanged);
            this.tbLyrics1.TextChanged += new System.EventHandler(this.tbLyrics1_TextChanged);
            this.tbLyrics1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbLyrics1_KeyDown);
            this.tbLyrics1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbLyrics1_KeyUp);
            this.tbLyrics1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbLyrics1_MouseUp);
            // 
            // CMRegion1
            // 
            this.CMRegion1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.CMRegion1_Copy,
            this.CMRegion1_Paste});
            this.CMRegion1.Name = "CMRegion1";
            this.CMRegion1.Size = new System.Drawing.Size(103, 48);
            // 
            // CMRegion1_Copy
            // 
            this.CMRegion1_Copy.Name = "CMRegion1_Copy";
            this.CMRegion1_Copy.Size = new System.Drawing.Size(102, 22);
            this.CMRegion1_Copy.Text = "Copy";
            this.CMRegion1_Copy.Click += new System.EventHandler(this.CMRegion1_Copy_Click);
            // 
            // CMRegion1_Paste
            // 
            this.CMRegion1_Paste.Name = "CMRegion1_Paste";
            this.CMRegion1_Paste.Size = new System.Drawing.Size(102, 22);
            this.CMRegion1_Paste.Text = "Paste";
            this.CMRegion1_Paste.Click += new System.EventHandler(this.CMRegion1_Paste_Click);
            // 
            // panelR1Top
            // 
            this.panelR1Top.Controls.Add(this.LabeltbLyrics);
            this.panelR1Top.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelR1Top.Location = new System.Drawing.Point(55, 0);
            this.panelR1Top.Name = "panelR1Top";
            this.panelR1Top.Size = new System.Drawing.Size(292, 16);
            this.panelR1Top.TabIndex = 0;
            // 
            // LabeltbLyrics
            // 
            this.LabeltbLyrics.Location = new System.Drawing.Point(3, 1);
            this.LabeltbLyrics.Name = "LabeltbLyrics";
            this.LabeltbLyrics.Size = new System.Drawing.Size(346, 13);
            this.LabeltbLyrics.TabIndex = 0;
            this.LabeltbLyrics.Text = "Region 1";
            // 
            // panelR1Left
            // 
            this.panelR1Left.Controls.Add(this.panel3);
            this.panelR1Left.Dock = System.Windows.Forms.DockStyle.Left;
            this.panelR1Left.Location = new System.Drawing.Point(0, 0);
            this.panelR1Left.Name = "panelR1Left";
            this.panelR1Left.Size = new System.Drawing.Size(55, 351);
            this.panelR1Left.TabIndex = 1;
            // 
            // panel3
            // 
            this.panel3.Controls.Add(this.panelR1LeftBottom);
            this.panel3.Controls.Add(this.panelR1LeftMiddle);
            this.panel3.Controls.Add(this.panelR1LeftTop);
            this.panel3.Location = new System.Drawing.Point(4, 16);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(48, 279);
            this.panel3.TabIndex = 2;
            // 
            // panelR1LeftBottom
            // 
            this.panelR1LeftBottom.Controls.Add(this.R1RightToLeft);
            this.panelR1LeftBottom.Controls.Add(this.R1Chinese);
            this.panelR1LeftBottom.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelR1LeftBottom.Location = new System.Drawing.Point(0, 254);
            this.panelR1LeftBottom.Name = "panelR1LeftBottom";
            this.panelR1LeftBottom.Size = new System.Drawing.Size(48, 24);
            this.panelR1LeftBottom.TabIndex = 2;
            // 
            // R1RightToLeft
            // 
            this.R1RightToLeft.Appearance = System.Windows.Forms.Appearance.Button;
            this.R1RightToLeft.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1RightToLeft.Location = new System.Drawing.Point(22, 1);
            this.R1RightToLeft.Name = "R1RightToLeft";
            this.R1RightToLeft.Size = new System.Drawing.Size(23, 23);
            this.R1RightToLeft.TabIndex = 3;
            this.toolTip1.SetToolTip(this.R1RightToLeft, "Right-To-Left Text");
            this.R1RightToLeft.UseVisualStyleBackColor = true;
            this.R1RightToLeft.Visible = false;
            this.R1RightToLeft.Click += new System.EventHandler(this.RightToLeft_Click);
            // 
            // R1Chinese
            // 
            this.R1Chinese.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1Chinese.Image = global::Properties.Resources.chinesepng;
            this.R1Chinese.Location = new System.Drawing.Point(0, 1);
            this.R1Chinese.Name = "R1Chinese";
            this.R1Chinese.Size = new System.Drawing.Size(23, 23);
            this.R1Chinese.TabIndex = 22;
            this.R1Chinese.Tag = "";
            this.toolTip1.SetToolTip(this.R1Chinese, "Siwtch Trad/Simp Chinese");
            this.R1Chinese.Click += new System.EventHandler(this.R1Chinese_Click);
            // 
            // panelR1LeftMiddle
            // 
            this.panelR1LeftMiddle.Controls.Add(this.R1BtnBridge2);
            this.panelR1LeftMiddle.Controls.Add(this.R1BtnPreChorus2);
            this.panelR1LeftMiddle.Controls.Add(this.R1BtnChorus2);
            this.panelR1LeftMiddle.Controls.Add(this.R1BtnPreChorus);
            this.panelR1LeftMiddle.Controls.Add(this.R1BtnChorus);
            this.panelR1LeftMiddle.Controls.Add(this.R1VerseFormat);
            this.panelR1LeftMiddle.Controls.Add(this.R1BtnNewScreen);
            this.panelR1LeftMiddle.Controls.Add(this.R1BtnNotations);
            this.panelR1LeftMiddle.Controls.Add(this.R1BtnEnding);
            this.panelR1LeftMiddle.Controls.Add(this.R1BtnBridge);
            this.panelR1LeftMiddle.Controls.Add(this.R1Btn10);
            this.panelR1LeftMiddle.Controls.Add(this.R1Btn9);
            this.panelR1LeftMiddle.Controls.Add(this.R1Btn8);
            this.panelR1LeftMiddle.Controls.Add(this.R1Btn7);
            this.panelR1LeftMiddle.Controls.Add(this.R1Btn6);
            this.panelR1LeftMiddle.Controls.Add(this.R1Btn5);
            this.panelR1LeftMiddle.Controls.Add(this.R1Btn4);
            this.panelR1LeftMiddle.Controls.Add(this.R1Btn3);
            this.panelR1LeftMiddle.Controls.Add(this.R1Btn2);
            this.panelR1LeftMiddle.Controls.Add(this.R1Btn1);
            this.panelR1LeftMiddle.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelR1LeftMiddle.Location = new System.Drawing.Point(0, 24);
            this.panelR1LeftMiddle.Name = "panelR1LeftMiddle";
            this.panelR1LeftMiddle.Size = new System.Drawing.Size(48, 230);
            this.panelR1LeftMiddle.TabIndex = 0;
            // 
            // R1BtnBridge2
            // 
            this.R1BtnBridge2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1BtnBridge2.Location = new System.Drawing.Point(23, 161);
            this.R1BtnBridge2.Name = "R1BtnBridge2";
            this.R1BtnBridge2.Size = new System.Drawing.Size(23, 23);
            this.R1BtnBridge2.TabIndex = 17;
            this.R1BtnBridge2.Tag = "103";
            this.toolTip1.SetToolTip(this.R1BtnBridge2, "Bridge 2 Indicator");
            this.R1BtnBridge2.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1BtnPreChorus2
            // 
            this.R1BtnPreChorus2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1BtnPreChorus2.Location = new System.Drawing.Point(23, 115);
            this.R1BtnPreChorus2.Name = "R1BtnPreChorus2";
            this.R1BtnPreChorus2.Size = new System.Drawing.Size(23, 23);
            this.R1BtnPreChorus2.TabIndex = 13;
            this.R1BtnPreChorus2.Tag = "112";
            this.toolTip1.SetToolTip(this.R1BtnPreChorus2, "Prechorus2 Indicator");
            this.R1BtnPreChorus2.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1BtnChorus2
            // 
            this.R1BtnChorus2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1BtnChorus2.Location = new System.Drawing.Point(23, 138);
            this.R1BtnChorus2.Name = "R1BtnChorus2";
            this.R1BtnChorus2.Size = new System.Drawing.Size(23, 23);
            this.R1BtnChorus2.TabIndex = 15;
            this.R1BtnChorus2.Tag = "102";
            this.toolTip1.SetToolTip(this.R1BtnChorus2, "Chrous 2 Indicator");
            this.R1BtnChorus2.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1BtnPreChorus
            // 
            this.R1BtnPreChorus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1BtnPreChorus.Location = new System.Drawing.Point(0, 115);
            this.R1BtnPreChorus.Name = "R1BtnPreChorus";
            this.R1BtnPreChorus.Size = new System.Drawing.Size(23, 23);
            this.R1BtnPreChorus.TabIndex = 12;
            this.R1BtnPreChorus.Tag = "111";
            this.R1BtnPreChorus.Text = "11";
            this.toolTip1.SetToolTip(this.R1BtnPreChorus, "Prechorus Indicator");
            this.R1BtnPreChorus.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1BtnChorus
            // 
            this.R1BtnChorus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1BtnChorus.Location = new System.Drawing.Point(0, 138);
            this.R1BtnChorus.Name = "R1BtnChorus";
            this.R1BtnChorus.Size = new System.Drawing.Size(23, 23);
            this.R1BtnChorus.TabIndex = 14;
            this.R1BtnChorus.Tag = "0";
            this.toolTip1.SetToolTip(this.R1BtnChorus, "Chorus Indicator");
            this.R1BtnChorus.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1VerseFormat
            // 
            this.R1VerseFormat.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1VerseFormat.Image = global::Properties.Resources.format;
            this.R1VerseFormat.Location = new System.Drawing.Point(23, 207);
            this.R1VerseFormat.Name = "R1VerseFormat";
            this.R1VerseFormat.Size = new System.Drawing.Size(23, 23);
            this.R1VerseFormat.TabIndex = 21;
            this.R1VerseFormat.Tag = "";
            this.toolTip1.SetToolTip(this.R1VerseFormat, "Verses Format");
            this.R1VerseFormat.Click += new System.EventHandler(this.R1VerseFormat_Click);
            // 
            // R1BtnNewScreen
            // 
            this.R1BtnNewScreen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1BtnNewScreen.Image = global::Properties.Resources.new1;
            this.R1BtnNewScreen.Location = new System.Drawing.Point(23, 184);
            this.R1BtnNewScreen.Name = "R1BtnNewScreen";
            this.R1BtnNewScreen.Size = new System.Drawing.Size(23, 23);
            this.R1BtnNewScreen.TabIndex = 19;
            this.R1BtnNewScreen.Tag = "151";
            this.toolTip1.SetToolTip(this.R1BtnNewScreen, "New Screen Indicator");
            this.R1BtnNewScreen.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1BtnNotations
            // 
            this.R1BtnNotations.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1BtnNotations.Image = global::Properties.Resources.right1;
            this.R1BtnNotations.Location = new System.Drawing.Point(0, 207);
            this.R1BtnNotations.Name = "R1BtnNotations";
            this.R1BtnNotations.Size = new System.Drawing.Size(23, 23);
            this.R1BtnNotations.TabIndex = 20;
            this.R1BtnNotations.Tag = "152";
            this.toolTip1.SetToolTip(this.R1BtnNotations, "Notations Indicator (F8)");
            this.R1BtnNotations.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1BtnEnding
            // 
            this.R1BtnEnding.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1BtnEnding.Location = new System.Drawing.Point(0, 184);
            this.R1BtnEnding.Name = "R1BtnEnding";
            this.R1BtnEnding.Size = new System.Drawing.Size(23, 23);
            this.R1BtnEnding.TabIndex = 18;
            this.R1BtnEnding.Tag = "101";
            this.toolTip1.SetToolTip(this.R1BtnEnding, "Ending Indicator");
            this.R1BtnEnding.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1BtnBridge
            // 
            this.R1BtnBridge.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1BtnBridge.Location = new System.Drawing.Point(0, 161);
            this.R1BtnBridge.Name = "R1BtnBridge";
            this.R1BtnBridge.Size = new System.Drawing.Size(23, 23);
            this.R1BtnBridge.TabIndex = 16;
            this.R1BtnBridge.Tag = "100";
            this.toolTip1.SetToolTip(this.R1BtnBridge, "Bridge Indicator");
            this.R1BtnBridge.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1Btn10
            // 
            this.R1Btn10.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1Btn10.Location = new System.Drawing.Point(23, 92);
            this.R1Btn10.Name = "R1Btn10";
            this.R1Btn10.Size = new System.Drawing.Size(23, 23);
            this.R1Btn10.TabIndex = 11;
            this.R1Btn10.Tag = "10";
            this.R1Btn10.Text = "10";
            this.R1Btn10.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1Btn9
            // 
            this.R1Btn9.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1Btn9.Location = new System.Drawing.Point(0, 92);
            this.R1Btn9.Name = "R1Btn9";
            this.R1Btn9.Size = new System.Drawing.Size(23, 23);
            this.R1Btn9.TabIndex = 10;
            this.R1Btn9.Tag = "9";
            this.R1Btn9.Text = "9";
            this.R1Btn9.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1Btn8
            // 
            this.R1Btn8.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1Btn8.Location = new System.Drawing.Point(23, 69);
            this.R1Btn8.Name = "R1Btn8";
            this.R1Btn8.Size = new System.Drawing.Size(23, 23);
            this.R1Btn8.TabIndex = 9;
            this.R1Btn8.Tag = "8";
            this.R1Btn8.Text = "8";
            this.R1Btn8.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1Btn7
            // 
            this.R1Btn7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1Btn7.Location = new System.Drawing.Point(0, 69);
            this.R1Btn7.Name = "R1Btn7";
            this.R1Btn7.Size = new System.Drawing.Size(23, 23);
            this.R1Btn7.TabIndex = 8;
            this.R1Btn7.Tag = "7";
            this.R1Btn7.Text = "7";
            this.R1Btn7.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1Btn6
            // 
            this.R1Btn6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1Btn6.Location = new System.Drawing.Point(23, 46);
            this.R1Btn6.Name = "R1Btn6";
            this.R1Btn6.Size = new System.Drawing.Size(23, 23);
            this.R1Btn6.TabIndex = 7;
            this.R1Btn6.Tag = "6";
            this.R1Btn6.Text = "6";
            this.R1Btn6.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1Btn5
            // 
            this.R1Btn5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1Btn5.Location = new System.Drawing.Point(0, 46);
            this.R1Btn5.Name = "R1Btn5";
            this.R1Btn5.Size = new System.Drawing.Size(23, 23);
            this.R1Btn5.TabIndex = 6;
            this.R1Btn5.Tag = "5";
            this.R1Btn5.Text = "5";
            this.R1Btn5.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1Btn4
            // 
            this.R1Btn4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1Btn4.Location = new System.Drawing.Point(23, 23);
            this.R1Btn4.Name = "R1Btn4";
            this.R1Btn4.Size = new System.Drawing.Size(23, 23);
            this.R1Btn4.TabIndex = 5;
            this.R1Btn4.Tag = "4";
            this.R1Btn4.Text = "4";
            this.R1Btn4.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1Btn3
            // 
            this.R1Btn3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1Btn3.Location = new System.Drawing.Point(0, 23);
            this.R1Btn3.Name = "R1Btn3";
            this.R1Btn3.Size = new System.Drawing.Size(23, 23);
            this.R1Btn3.TabIndex = 4;
            this.R1Btn3.Tag = "3";
            this.R1Btn3.Text = "3";
            this.R1Btn3.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1Btn2
            // 
            this.R1Btn2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1Btn2.Location = new System.Drawing.Point(23, 0);
            this.R1Btn2.Name = "R1Btn2";
            this.R1Btn2.Size = new System.Drawing.Size(23, 23);
            this.R1Btn2.TabIndex = 3;
            this.R1Btn2.Tag = "2";
            this.R1Btn2.Text = "2";
            this.R1Btn2.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // R1Btn1
            // 
            this.R1Btn1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1Btn1.Location = new System.Drawing.Point(0, 0);
            this.R1Btn1.Name = "R1Btn1";
            this.R1Btn1.Size = new System.Drawing.Size(23, 23);
            this.R1Btn1.TabIndex = 2;
            this.R1Btn1.Tag = "1";
            this.R1Btn1.Text = "1";
            this.toolTip1.SetToolTip(this.R1Btn1, "Verse Indicator");
            this.R1Btn1.Click += new System.EventHandler(this.R1Btn_Click);
            // 
            // panelR1LeftTop
            // 
            this.panelR1LeftTop.Controls.Add(this.R1Undo);
            this.panelR1LeftTop.Controls.Add(this.R1Redo);
            this.panelR1LeftTop.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelR1LeftTop.Location = new System.Drawing.Point(0, 0);
            this.panelR1LeftTop.Name = "panelR1LeftTop";
            this.panelR1LeftTop.Size = new System.Drawing.Size(48, 24);
            this.panelR1LeftTop.TabIndex = 2;
            // 
            // R1Undo
            // 
            this.R1Undo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1Undo.Image = global::Properties.Resources.undo;
            this.R1Undo.Location = new System.Drawing.Point(0, 1);
            this.R1Undo.Name = "R1Undo";
            this.R1Undo.Size = new System.Drawing.Size(23, 23);
            this.R1Undo.TabIndex = 0;
            this.R1Undo.Tag = "0";
            this.toolTip1.SetToolTip(this.R1Undo, "Undo");
            this.R1Undo.Click += new System.EventHandler(this.R1UndoRedo_Click);
            // 
            // R1Redo
            // 
            this.R1Redo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R1Redo.Image = global::Properties.Resources.redo;
            this.R1Redo.Location = new System.Drawing.Point(23, 1);
            this.R1Redo.Name = "R1Redo";
            this.R1Redo.Size = new System.Drawing.Size(23, 23);
            this.R1Redo.TabIndex = 1;
            this.R1Redo.Tag = "1";
            this.toolTip1.SetToolTip(this.R1Redo, "Redo");
            this.R1Redo.Click += new System.EventHandler(this.R1UndoRedo_Click);
            // 
            // tabRightPane
            // 
            this.tabRightPane.Controls.Add(this.tabRight_Region2);
            this.tabRightPane.Controls.Add(this.tabRight_Rotate);
            this.tabRightPane.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabRightPane.Location = new System.Drawing.Point(0, 0);
            this.tabRightPane.Multiline = true;
            this.tabRightPane.Name = "tabRightPane";
            this.tabRightPane.SelectedIndex = 0;
            this.tabRightPane.Size = new System.Drawing.Size(413, 351);
            this.tabRightPane.TabIndex = 0;
            // 
            // tabRight_Region2
            // 
            this.tabRight_Region2.BackColor = System.Drawing.SystemColors.Control;
            this.tabRight_Region2.Controls.Add(this.panelR2All);
            this.tabRight_Region2.Location = new System.Drawing.Point(4, 22);
            this.tabRight_Region2.Name = "tabRight_Region2";
            this.tabRight_Region2.Padding = new System.Windows.Forms.Padding(3);
            this.tabRight_Region2.Size = new System.Drawing.Size(405, 325);
            this.tabRight_Region2.TabIndex = 0;
            this.tabRight_Region2.Text = "Region 2";
            // 
            // panelR2All
            // 
            this.panelR2All.Controls.Add(this.tbLyrics2);
            this.panelR2All.Controls.Add(this.panelR2Top);
            this.panelR2All.Controls.Add(this.panelR2Left);
            this.panelR2All.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panelR2All.Location = new System.Drawing.Point(3, 3);
            this.panelR2All.Name = "panelR2All";
            this.panelR2All.Size = new System.Drawing.Size(399, 319);
            this.panelR2All.TabIndex = 7;
            // 
            // tbLyrics2
            // 
            this.tbLyrics2.ContextMenuStrip = this.CMRegion2;
            this.tbLyrics2.DetectUrls = false;
            this.tbLyrics2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tbLyrics2.EnableAutoDragDrop = true;
            this.tbLyrics2.HideSelection = false;
            this.tbLyrics2.Location = new System.Drawing.Point(72, 16);
            this.tbLyrics2.Name = "tbLyrics2";
            this.tbLyrics2.Size = new System.Drawing.Size(327, 303);
            this.tbLyrics2.TabIndex = 5;
            this.tbLyrics2.Text = "";
            this.tbLyrics2.SelectionChanged += new System.EventHandler(this.tbLyrics2_SelectionChanged);
            this.tbLyrics2.TextChanged += new System.EventHandler(this.tbLyrics2_TextChanged);
            this.tbLyrics2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbLyrics2_KeyDown);
            this.tbLyrics2.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbLyrics2_KeyUp);
            this.tbLyrics2.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tbLyrics2_MouseUp);
            // 
            // CMRegion2
            // 
            this.CMRegion2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.CMRegion2_Copy,
            this.CMRegion2_Paste});
            this.CMRegion2.Name = "CMRegion1";
            this.CMRegion2.Size = new System.Drawing.Size(103, 48);
            // 
            // CMRegion2_Copy
            // 
            this.CMRegion2_Copy.Name = "CMRegion2_Copy";
            this.CMRegion2_Copy.Size = new System.Drawing.Size(102, 22);
            this.CMRegion2_Copy.Text = "Copy";
            this.CMRegion2_Copy.Click += new System.EventHandler(this.CMRegion2_Copy_Click);
            // 
            // CMRegion2_Paste
            // 
            this.CMRegion2_Paste.Name = "CMRegion2_Paste";
            this.CMRegion2_Paste.Size = new System.Drawing.Size(102, 22);
            this.CMRegion2_Paste.Text = "Paste";
            this.CMRegion2_Paste.Click += new System.EventHandler(this.CMRegion2_Paste_Click);
            // 
            // panelR2Top
            // 
            this.panelR2Top.Controls.Add(this.LabeltbLyrics2);
            this.panelR2Top.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelR2Top.Location = new System.Drawing.Point(72, 0);
            this.panelR2Top.Name = "panelR2Top";
            this.panelR2Top.Size = new System.Drawing.Size(327, 16);
            this.panelR2Top.TabIndex = 1;
            // 
            // LabeltbLyrics2
            // 
            this.LabeltbLyrics2.Location = new System.Drawing.Point(-1, 1);
            this.LabeltbLyrics2.Name = "LabeltbLyrics2";
            this.LabeltbLyrics2.Size = new System.Drawing.Size(377, 13);
            this.LabeltbLyrics2.TabIndex = 1;
            this.LabeltbLyrics2.Text = "Region 2";
            // 
            // panelR2Left
            // 
            this.panelR2Left.Controls.Add(this.panel1);
            this.panelR2Left.Controls.Add(this.SyncBtnDown);
            this.panelR2Left.Controls.Add(this.SyncBtnUp);
            this.panelR2Left.Dock = System.Windows.Forms.DockStyle.Left;
            this.panelR2Left.Location = new System.Drawing.Point(0, 0);
            this.panelR2Left.Name = "panelR2Left";
            this.panelR2Left.Size = new System.Drawing.Size(72, 319);
            this.panelR2Left.TabIndex = 0;
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.panelR2LeftBottom);
            this.panel1.Controls.Add(this.panelR2LeftMiddle);
            this.panel1.Controls.Add(this.panelR2LeftTop);
            this.panel1.Location = new System.Drawing.Point(21, 15);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(48, 280);
            this.panel1.TabIndex = 2;
            // 
            // panelR2LeftBottom
            // 
            this.panelR2LeftBottom.Controls.Add(this.R2RightToLeft);
            this.panelR2LeftBottom.Controls.Add(this.R2Chinese);
            this.panelR2LeftBottom.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelR2LeftBottom.Location = new System.Drawing.Point(0, 254);
            this.panelR2LeftBottom.Name = "panelR2LeftBottom";
            this.panelR2LeftBottom.Size = new System.Drawing.Size(48, 24);
            this.panelR2LeftBottom.TabIndex = 3;
            // 
            // R2RightToLeft
            // 
            this.R2RightToLeft.Appearance = System.Windows.Forms.Appearance.Button;
            this.R2RightToLeft.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2RightToLeft.Location = new System.Drawing.Point(23, 0);
            this.R2RightToLeft.Name = "R2RightToLeft";
            this.R2RightToLeft.Size = new System.Drawing.Size(23, 23);
            this.R2RightToLeft.TabIndex = 24;
            this.toolTip1.SetToolTip(this.R2RightToLeft, "Right-To-Left Text");
            this.R2RightToLeft.UseVisualStyleBackColor = true;
            this.R2RightToLeft.Visible = false;
            this.R2RightToLeft.Click += new System.EventHandler(this.RightToLeft_Click);
            // 
            // R2Chinese
            // 
            this.R2Chinese.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2Chinese.Image = global::Properties.Resources.chinesepng;
            this.R2Chinese.Location = new System.Drawing.Point(0, 0);
            this.R2Chinese.Name = "R2Chinese";
            this.R2Chinese.Size = new System.Drawing.Size(23, 23);
            this.R2Chinese.TabIndex = 22;
            this.R2Chinese.Tag = "";
            this.toolTip1.SetToolTip(this.R2Chinese, "Siwtch Trad/Simp Chinese");
            this.R2Chinese.Click += new System.EventHandler(this.R2Chinese_Click);
            // 
            // panelR2LeftMiddle
            // 
            this.panelR2LeftMiddle.Controls.Add(this.R2BtnBridge2);
            this.panelR2LeftMiddle.Controls.Add(this.R2BtnPreChorus2);
            this.panelR2LeftMiddle.Controls.Add(this.R2BtnPreChorus);
            this.panelR2LeftMiddle.Controls.Add(this.R2VerseFormat);
            this.panelR2LeftMiddle.Controls.Add(this.R2BtnChorus);
            this.panelR2LeftMiddle.Controls.Add(this.R2BtnChorus2);
            this.panelR2LeftMiddle.Controls.Add(this.R2BtnNewScreen);
            this.panelR2LeftMiddle.Controls.Add(this.R2BtnNotations);
            this.panelR2LeftMiddle.Controls.Add(this.R2BtnEnding);
            this.panelR2LeftMiddle.Controls.Add(this.R2BtnBridge);
            this.panelR2LeftMiddle.Controls.Add(this.R2Btn10);
            this.panelR2LeftMiddle.Controls.Add(this.R2Btn9);
            this.panelR2LeftMiddle.Controls.Add(this.R2Btn8);
            this.panelR2LeftMiddle.Controls.Add(this.R2Btn7);
            this.panelR2LeftMiddle.Controls.Add(this.R2Btn6);
            this.panelR2LeftMiddle.Controls.Add(this.R2Btn5);
            this.panelR2LeftMiddle.Controls.Add(this.R2Btn4);
            this.panelR2LeftMiddle.Controls.Add(this.R2Btn3);
            this.panelR2LeftMiddle.Controls.Add(this.R2Btn2);
            this.panelR2LeftMiddle.Controls.Add(this.R2Btn1);
            this.panelR2LeftMiddle.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelR2LeftMiddle.Location = new System.Drawing.Point(0, 24);
            this.panelR2LeftMiddle.Name = "panelR2LeftMiddle";
            this.panelR2LeftMiddle.Size = new System.Drawing.Size(48, 230);
            this.panelR2LeftMiddle.TabIndex = 1;
            // 
            // R2BtnBridge2
            // 
            this.R2BtnBridge2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2BtnBridge2.Location = new System.Drawing.Point(23, 161);
            this.R2BtnBridge2.Name = "R2BtnBridge2";
            this.R2BtnBridge2.Size = new System.Drawing.Size(23, 23);
            this.R2BtnBridge2.TabIndex = 17;
            this.R2BtnBridge2.Tag = "103";
            this.toolTip1.SetToolTip(this.R2BtnBridge2, "Bridge 2 Indicator");
            this.R2BtnBridge2.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2BtnPreChorus2
            // 
            this.R2BtnPreChorus2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2BtnPreChorus2.Location = new System.Drawing.Point(23, 115);
            this.R2BtnPreChorus2.Name = "R2BtnPreChorus2";
            this.R2BtnPreChorus2.Size = new System.Drawing.Size(23, 23);
            this.R2BtnPreChorus2.TabIndex = 13;
            this.R2BtnPreChorus2.Tag = "112";
            this.toolTip1.SetToolTip(this.R2BtnPreChorus2, "Prechorus2 Indicator");
            this.R2BtnPreChorus2.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2BtnPreChorus
            // 
            this.R2BtnPreChorus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2BtnPreChorus.Location = new System.Drawing.Point(0, 115);
            this.R2BtnPreChorus.Name = "R2BtnPreChorus";
            this.R2BtnPreChorus.Size = new System.Drawing.Size(23, 23);
            this.R2BtnPreChorus.TabIndex = 12;
            this.R2BtnPreChorus.Tag = "111";
            this.toolTip1.SetToolTip(this.R2BtnPreChorus, "Prechorus Indicator");
            this.R2BtnPreChorus.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2VerseFormat
            // 
            this.R2VerseFormat.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2VerseFormat.Image = global::Properties.Resources.format;
            this.R2VerseFormat.Location = new System.Drawing.Point(23, 207);
            this.R2VerseFormat.Name = "R2VerseFormat";
            this.R2VerseFormat.Size = new System.Drawing.Size(23, 23);
            this.R2VerseFormat.TabIndex = 21;
            this.R2VerseFormat.Tag = "";
            this.toolTip1.SetToolTip(this.R2VerseFormat, "Verses Format");
            this.R2VerseFormat.Click += new System.EventHandler(this.R2VerseFormat_Click);
            // 
            // R2BtnChorus
            // 
            this.R2BtnChorus.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2BtnChorus.Location = new System.Drawing.Point(0, 138);
            this.R2BtnChorus.Name = "R2BtnChorus";
            this.R2BtnChorus.Size = new System.Drawing.Size(23, 23);
            this.R2BtnChorus.TabIndex = 14;
            this.R2BtnChorus.Tag = "0";
            this.toolTip1.SetToolTip(this.R2BtnChorus, "Chorus Indicator");
            this.R2BtnChorus.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2BtnChorus2
            // 
            this.R2BtnChorus2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2BtnChorus2.Location = new System.Drawing.Point(23, 138);
            this.R2BtnChorus2.Name = "R2BtnChorus2";
            this.R2BtnChorus2.Size = new System.Drawing.Size(23, 23);
            this.R2BtnChorus2.TabIndex = 15;
            this.R2BtnChorus2.Tag = "102";
            this.toolTip1.SetToolTip(this.R2BtnChorus2, "Chrous 2 Indicator");
            this.R2BtnChorus2.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2BtnNewScreen
            // 
            this.R2BtnNewScreen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2BtnNewScreen.Image = global::Properties.Resources.new1;
            this.R2BtnNewScreen.Location = new System.Drawing.Point(23, 184);
            this.R2BtnNewScreen.Name = "R2BtnNewScreen";
            this.R2BtnNewScreen.Size = new System.Drawing.Size(23, 23);
            this.R2BtnNewScreen.TabIndex = 19;
            this.R2BtnNewScreen.Tag = "151";
            this.toolTip1.SetToolTip(this.R2BtnNewScreen, "New Screen Indicator");
            this.R2BtnNewScreen.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2BtnNotations
            // 
            this.R2BtnNotations.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2BtnNotations.Image = global::Properties.Resources.right1;
            this.R2BtnNotations.Location = new System.Drawing.Point(0, 207);
            this.R2BtnNotations.Name = "R2BtnNotations";
            this.R2BtnNotations.Size = new System.Drawing.Size(23, 23);
            this.R2BtnNotations.TabIndex = 20;
            this.R2BtnNotations.Tag = "152";
            this.toolTip1.SetToolTip(this.R2BtnNotations, "Notations Indicator (F8)");
            this.R2BtnNotations.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2BtnEnding
            // 
            this.R2BtnEnding.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2BtnEnding.Location = new System.Drawing.Point(0, 184);
            this.R2BtnEnding.Name = "R2BtnEnding";
            this.R2BtnEnding.Size = new System.Drawing.Size(23, 23);
            this.R2BtnEnding.TabIndex = 18;
            this.R2BtnEnding.Tag = "101";
            this.toolTip1.SetToolTip(this.R2BtnEnding, "Ending Indicator");
            this.R2BtnEnding.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2BtnBridge
            // 
            this.R2BtnBridge.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2BtnBridge.Location = new System.Drawing.Point(0, 161);
            this.R2BtnBridge.Name = "R2BtnBridge";
            this.R2BtnBridge.Size = new System.Drawing.Size(23, 23);
            this.R2BtnBridge.TabIndex = 16;
            this.R2BtnBridge.Tag = "100";
            this.toolTip1.SetToolTip(this.R2BtnBridge, "Bridge Indicator");
            this.R2BtnBridge.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2Btn10
            // 
            this.R2Btn10.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2Btn10.Location = new System.Drawing.Point(23, 92);
            this.R2Btn10.Name = "R2Btn10";
            this.R2Btn10.Size = new System.Drawing.Size(23, 23);
            this.R2Btn10.TabIndex = 11;
            this.R2Btn10.Tag = "10";
            this.R2Btn10.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2Btn9
            // 
            this.R2Btn9.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2Btn9.Location = new System.Drawing.Point(0, 92);
            this.R2Btn9.Name = "R2Btn9";
            this.R2Btn9.Size = new System.Drawing.Size(23, 23);
            this.R2Btn9.TabIndex = 10;
            this.R2Btn9.Tag = "9";
            this.R2Btn9.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2Btn8
            // 
            this.R2Btn8.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2Btn8.Location = new System.Drawing.Point(23, 69);
            this.R2Btn8.Name = "R2Btn8";
            this.R2Btn8.Size = new System.Drawing.Size(23, 23);
            this.R2Btn8.TabIndex = 9;
            this.R2Btn8.Tag = "8";
            this.R2Btn8.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2Btn7
            // 
            this.R2Btn7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2Btn7.Location = new System.Drawing.Point(0, 69);
            this.R2Btn7.Name = "R2Btn7";
            this.R2Btn7.Size = new System.Drawing.Size(23, 23);
            this.R2Btn7.TabIndex = 8;
            this.R2Btn7.Tag = "7";
            this.R2Btn7.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2Btn6
            // 
            this.R2Btn6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2Btn6.Location = new System.Drawing.Point(23, 46);
            this.R2Btn6.Name = "R2Btn6";
            this.R2Btn6.Size = new System.Drawing.Size(23, 23);
            this.R2Btn6.TabIndex = 7;
            this.R2Btn6.Tag = "6";
            this.R2Btn6.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2Btn5
            // 
            this.R2Btn5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2Btn5.Location = new System.Drawing.Point(0, 46);
            this.R2Btn5.Name = "R2Btn5";
            this.R2Btn5.Size = new System.Drawing.Size(23, 23);
            this.R2Btn5.TabIndex = 6;
            this.R2Btn5.Tag = "5";
            this.R2Btn5.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2Btn4
            // 
            this.R2Btn4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2Btn4.Location = new System.Drawing.Point(23, 23);
            this.R2Btn4.Name = "R2Btn4";
            this.R2Btn4.Size = new System.Drawing.Size(23, 23);
            this.R2Btn4.TabIndex = 5;
            this.R2Btn4.Tag = "4";
            this.R2Btn4.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2Btn3
            // 
            this.R2Btn3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2Btn3.Location = new System.Drawing.Point(0, 23);
            this.R2Btn3.Name = "R2Btn3";
            this.R2Btn3.Size = new System.Drawing.Size(23, 23);
            this.R2Btn3.TabIndex = 4;
            this.R2Btn3.Tag = "3";
            this.R2Btn3.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2Btn2
            // 
            this.R2Btn2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2Btn2.Location = new System.Drawing.Point(23, 0);
            this.R2Btn2.Name = "R2Btn2";
            this.R2Btn2.Size = new System.Drawing.Size(23, 23);
            this.R2Btn2.TabIndex = 3;
            this.R2Btn2.Tag = "2";
            this.R2Btn2.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // R2Btn1
            // 
            this.R2Btn1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2Btn1.Location = new System.Drawing.Point(0, 0);
            this.R2Btn1.Name = "R2Btn1";
            this.R2Btn1.Size = new System.Drawing.Size(23, 23);
            this.R2Btn1.TabIndex = 2;
            this.R2Btn1.Tag = "1";
            this.toolTip1.SetToolTip(this.R2Btn1, "Verse Indicator");
            this.R2Btn1.Click += new System.EventHandler(this.R2Btn_Click);
            // 
            // panelR2LeftTop
            // 
            this.panelR2LeftTop.Controls.Add(this.R2Undo);
            this.panelR2LeftTop.Controls.Add(this.R2Redo);
            this.panelR2LeftTop.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelR2LeftTop.Location = new System.Drawing.Point(0, 0);
            this.panelR2LeftTop.Name = "panelR2LeftTop";
            this.panelR2LeftTop.Size = new System.Drawing.Size(48, 24);
            this.panelR2LeftTop.TabIndex = 2;
            // 
            // R2Undo
            // 
            this.R2Undo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2Undo.Image = global::Properties.Resources.undo;
            this.R2Undo.Location = new System.Drawing.Point(0, 1);
            this.R2Undo.Name = "R2Undo";
            this.R2Undo.Size = new System.Drawing.Size(23, 23);
            this.R2Undo.TabIndex = 0;
            this.R2Undo.Tag = "0";
            this.toolTip1.SetToolTip(this.R2Undo, "Undo");
            this.R2Undo.Click += new System.EventHandler(this.R2UndoRedo_Click);
            // 
            // R2Redo
            // 
            this.R2Redo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.R2Redo.Image = global::Properties.Resources.redo;
            this.R2Redo.Location = new System.Drawing.Point(23, 1);
            this.R2Redo.Name = "R2Redo";
            this.R2Redo.Size = new System.Drawing.Size(23, 23);
            this.R2Redo.TabIndex = 1;
            this.R2Redo.Tag = "1";
            this.toolTip1.SetToolTip(this.R2Redo, "Redo");
            this.R2Redo.Click += new System.EventHandler(this.R2UndoRedo_Click);
            // 
            // SyncBtnDown
            // 
            this.SyncBtnDown.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.SyncBtnDown.Image = global::Properties.Resources.moveDown;
            this.SyncBtnDown.Location = new System.Drawing.Point(0, 40);
            this.SyncBtnDown.Name = "SyncBtnDown";
            this.SyncBtnDown.Size = new System.Drawing.Size(20, 22);
            this.SyncBtnDown.TabIndex = 1;
            this.SyncBtnDown.Tag = "1";
            this.toolTip1.SetToolTip(this.SyncBtnDown, "Highlight Next Slide");
            this.SyncBtnDown.Click += new System.EventHandler(this.SyncBtnUpDown_Click);
            // 
            // SyncBtnUp
            // 
            this.SyncBtnUp.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.SyncBtnUp.Image = global::Properties.Resources.moveUp;
            this.SyncBtnUp.Location = new System.Drawing.Point(0, 18);
            this.SyncBtnUp.Name = "SyncBtnUp";
            this.SyncBtnUp.Size = new System.Drawing.Size(20, 22);
            this.SyncBtnUp.TabIndex = 0;
            this.SyncBtnUp.Tag = "0";
            this.toolTip1.SetToolTip(this.SyncBtnUp, "Highlight Previous Slide");
            this.SyncBtnUp.Click += new System.EventHandler(this.SyncBtnUpDown_Click);
            // 
            // tabRight_Rotate
            // 
            this.tabRight_Rotate.BackColor = System.Drawing.SystemColors.Control;
            this.tabRight_Rotate.Controls.Add(this.panelRotate);
            this.tabRight_Rotate.Location = new System.Drawing.Point(4, 22);
            this.tabRight_Rotate.Name = "tabRight_Rotate";
            this.tabRight_Rotate.Padding = new System.Windows.Forms.Padding(3);
            this.tabRight_Rotate.Size = new System.Drawing.Size(405, 325);
            this.tabRight_Rotate.TabIndex = 1;
            this.tabRight_Rotate.Text = "Rotate Style";
            // 
            // panelRotate
            // 
            this.panelRotate.Controls.Add(this.splitContainerRotate);
            this.panelRotate.Controls.Add(this.panelRotateLeft);
            this.panelRotate.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panelRotate.Location = new System.Drawing.Point(3, 3);
            this.panelRotate.Name = "panelRotate";
            this.panelRotate.Size = new System.Drawing.Size(399, 319);
            this.panelRotate.TabIndex = 0;
            // 
            // splitContainerRotate
            // 
            this.splitContainerRotate.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerRotate.Location = new System.Drawing.Point(123, 0);
            this.splitContainerRotate.Name = "splitContainerRotate";
            this.splitContainerRotate.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // splitContainerRotate.Panel1
            // 
            this.splitContainerRotate.Panel1.Controls.Add(this.groupBoxRotateVerses);
            // 
            // splitContainerRotate.Panel2
            // 
            this.splitContainerRotate.Panel2.Controls.Add(this.panelRotate_Sample);
            this.splitContainerRotate.Size = new System.Drawing.Size(276, 319);
            this.splitContainerRotate.SplitterDistance = 108;
            this.splitContainerRotate.TabIndex = 33;
            this.splitContainerRotate.Text = "splitContainer2";
            this.splitContainerRotate.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainerRotate_SplitterMoved);
            // 
            // groupBoxRotateVerses
            // 
            this.groupBoxRotateVerses.Controls.Add(this.panelRotate_Verses);
            this.groupBoxRotateVerses.Controls.Add(this.panelRotate_OrderList);
            this.groupBoxRotateVerses.Controls.Add(this.panel13);
            this.groupBoxRotateVerses.Controls.Add(this.panel14);
            this.groupBoxRotateVerses.Dock = System.Windows.Forms.DockStyle.Left;
            this.groupBoxRotateVerses.Enabled = false;
            this.groupBoxRotateVerses.Location = new System.Drawing.Point(0, 0);
            this.groupBoxRotateVerses.Name = "groupBoxRotateVerses";
            this.groupBoxRotateVerses.Padding = new System.Windows.Forms.Padding(0);
            this.groupBoxRotateVerses.Size = new System.Drawing.Size(240, 108);
            this.groupBoxRotateVerses.TabIndex = 33;
            this.groupBoxRotateVerses.TabStop = false;
            // 
            // panelRotate_Verses
            // 
            this.panelRotate_Verses.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panelRotate_Verses.Controls.Add(this.Rotate_VersesList);
            this.panelRotate_Verses.Controls.Add(this.panel10);
            this.panelRotate_Verses.Location = new System.Drawing.Point(6, 10);
            this.panelRotate_Verses.Name = "panelRotate_Verses";
            this.panelRotate_Verses.Size = new System.Drawing.Size(90, 97);
            this.panelRotate_Verses.TabIndex = 1;
            // 
            // Rotate_VersesList
            // 
            this.Rotate_VersesList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader6,
            this.columnHeader7,
            this.columnHeader8});
            this.Rotate_VersesList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.Rotate_VersesList.FullRowSelect = true;
            this.Rotate_VersesList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
            this.Rotate_VersesList.Location = new System.Drawing.Point(0, 14);
            this.Rotate_VersesList.Margin = new System.Windows.Forms.Padding(1);
            this.Rotate_VersesList.Name = "Rotate_VersesList";
            this.Rotate_VersesList.ShowItemToolTips = true;
            this.Rotate_VersesList.Size = new System.Drawing.Size(86, 79);
            this.Rotate_VersesList.TabIndex = 0;
            this.Rotate_VersesList.UseCompatibleStateImageBehavior = false;
            this.Rotate_VersesList.View = System.Windows.Forms.View.Details;
            this.Rotate_VersesList.DoubleClick += new System.EventHandler(this.Rotate_VersesList_DoubleClick);
            // 
            // columnHeader6
            // 
            this.columnHeader6.Width = 65;
            // 
            // columnHeader7
            // 
            this.columnHeader7.Width = 0;
            // 
            // columnHeader8
            // 
            this.columnHeader8.Width = 0;
            // 
            // panel10
            // 
            this.panel10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel10.Controls.Add(this.label23);
            this.panel10.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel10.Location = new System.Drawing.Point(0, 0);
            this.panel10.Name = "panel10";
            this.panel10.Size = new System.Drawing.Size(86, 14);
            this.panel10.TabIndex = 0;
            // 
            // label23
            // 
            this.label23.AutoSize = true;
            this.label23.Location = new System.Drawing.Point(12, -1);
            this.label23.Name = "label23";
            this.label23.Size = new System.Drawing.Size(39, 13);
            this.label23.TabIndex = 0;
            this.label23.Text = "Verses";
            // 
            // panelRotate_OrderList
            // 
            this.panelRotate_OrderList.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panelRotate_OrderList.Controls.Add(this.Rotate_OrderList);
            this.panelRotate_OrderList.Controls.Add(this.panel12);
            this.panelRotate_OrderList.Location = new System.Drawing.Point(122, 10);
            this.panelRotate_OrderList.Name = "panelRotate_OrderList";
            this.panelRotate_OrderList.Size = new System.Drawing.Size(90, 97);
            this.panelRotate_OrderList.TabIndex = 2;
            // 
            // Rotate_OrderList
            // 
            this.Rotate_OrderList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader9,
            this.columnHeader10});
            this.Rotate_OrderList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.Rotate_OrderList.FullRowSelect = true;
            this.Rotate_OrderList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
            this.Rotate_OrderList.Location = new System.Drawing.Point(0, 14);
            this.Rotate_OrderList.Name = "Rotate_OrderList";
            this.Rotate_OrderList.Size = new System.Drawing.Size(86, 79);
            this.Rotate_OrderList.TabIndex = 0;
            this.Rotate_OrderList.UseCompatibleStateImageBehavior = false;
            this.Rotate_OrderList.View = System.Windows.Forms.View.Details;
            this.Rotate_OrderList.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Rotate_OrderList_KeyUp);
            // 
            // columnHeader9
            // 
            this.columnHeader9.Width = 65;
            // 
            // columnHeader10
            // 
            this.columnHeader10.Width = 0;
            // 
            // panel12
            // 
            this.panel12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel12.Controls.Add(this.label24);
            this.panel12.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel12.Location = new System.Drawing.Point(0, 0);
            this.panel12.Name = "panel12";
            this.panel12.Size = new System.Drawing.Size(86, 14);
            this.panel12.TabIndex = 0;
            // 
            // label24
            // 
            this.label24.AutoSize = true;
            this.label24.Location = new System.Drawing.Point(10, -1);
            this.label24.Name = "label24";
            this.label24.Size = new System.Drawing.Size(56, 13);
            this.label24.TabIndex = 0;
            this.label24.Text = "Sequence";
            // 
            // panel13
            // 
            this.panel13.Controls.Add(this.toolStripRotate_SeqSet);
            this.panel13.Location = new System.Drawing.Point(96, 27);
            this.panel13.Name = "panel13";
            this.panel13.Size = new System.Drawing.Size(25, 52);
            this.panel13.TabIndex = 13;
            // 
            // toolStripRotate_SeqSet
            // 
            this.toolStripRotate_SeqSet.AutoSize = false;
            this.toolStripRotate_SeqSet.CanOverflow = false;
            this.toolStripRotate_SeqSet.Dock = System.Windows.Forms.DockStyle.None;
            this.toolStripRotate_SeqSet.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStripRotate_SeqSet.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.Rotate_Verses_Add,
            this.Rotate_Verses_SmartAdd});
            this.toolStripRotate_SeqSet.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.VerticalStackWithOverflow;
            this.toolStripRotate_SeqSet.Location = new System.Drawing.Point(0, 1);
            this.toolStripRotate_SeqSet.Name = "toolStripRotate_SeqSet";
            this.toolStripRotate_SeqSet.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
            this.toolStripRotate_SeqSet.Size = new System.Drawing.Size(25, 62);
            this.toolStripRotate_SeqSet.TabIndex = 5;
            // 
            // Rotate_Verses_Add
            // 
            this.Rotate_Verses_Add.AutoSize = false;
            this.Rotate_Verses_Add.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Rotate_Verses_Add.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Rotate_Verses_Add.Name = "Rotate_Verses_Add";
            this.Rotate_Verses_Add.Size = new System.Drawing.Size(22, 22);
            this.Rotate_Verses_Add.Tag = "";
            this.Rotate_Verses_Add.ToolTipText = "Add";
            this.Rotate_Verses_Add.Click += new System.EventHandler(this.Rotate_Verses_Add_Click);
            // 
            // Rotate_Verses_SmartAdd
            // 
            this.Rotate_Verses_SmartAdd.AutoSize = false;
            this.Rotate_Verses_SmartAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Rotate_Verses_SmartAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Rotate_Verses_SmartAdd.Name = "Rotate_Verses_SmartAdd";
            this.Rotate_Verses_SmartAdd.Size = new System.Drawing.Size(22, 22);
            this.Rotate_Verses_SmartAdd.Tag = "";
            this.Rotate_Verses_SmartAdd.ToolTipText = "Smart Add";
            this.Rotate_Verses_SmartAdd.Click += new System.EventHandler(this.Rotate_Verses_Add_Click);
            // 
            // panel14
            // 
            this.panel14.Controls.Add(this.toolStripRotate_SeqUpDown);
            this.panel14.Location = new System.Drawing.Point(211, 28);
            this.panel14.Name = "panel14";
            this.panel14.Size = new System.Drawing.Size(25, 79);
            this.panel14.TabIndex = 12;
            // 
            // toolStripRotate_SeqUpDown
            // 
            this.toolStripRotate_SeqUpDown.AutoSize = false;
            this.toolStripRotate_SeqUpDown.CanOverflow = false;
            this.toolStripRotate_SeqUpDown.Dock = System.Windows.Forms.DockStyle.None;
            this.toolStripRotate_SeqUpDown.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStripRotate_SeqUpDown.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.Rotate_OrderList_Up,
            this.Rotate_OrderList_Down,
            this.toolStripSeparator3,
            this.Rotate_OrderList_Delete});
            this.toolStripRotate_SeqUpDown.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.VerticalStackWithOverflow;
            this.toolStripRotate_SeqUpDown.Location = new System.Drawing.Point(0, -1);
            this.toolStripRotate_SeqUpDown.Name = "toolStripRotate_SeqUpDown";
            this.toolStripRotate_SeqUpDown.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
            this.toolStripRotate_SeqUpDown.Size = new System.Drawing.Size(25, 89);
            this.toolStripRotate_SeqUpDown.TabIndex = 5;
            // 
            // Rotate_OrderList_Up
            // 
            this.Rotate_OrderList_Up.AutoSize = false;
            this.Rotate_OrderList_Up.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Rotate_OrderList_Up.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Rotate_OrderList_Up.Name = "Rotate_OrderList_Up";
            this.Rotate_OrderList_Up.Size = new System.Drawing.Size(22, 22);
            this.Rotate_OrderList_Up.Tag = "up";
            this.Rotate_OrderList_Up.ToolTipText = "Move Item Up";
            this.Rotate_OrderList_Up.Click += new System.EventHandler(this.Rotate_OrderList_Btn_Click);
            // 
            // Rotate_OrderList_Down
            // 
            this.Rotate_OrderList_Down.AutoSize = false;
            this.Rotate_OrderList_Down.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Rotate_OrderList_Down.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Rotate_OrderList_Down.Name = "Rotate_OrderList_Down";
            this.Rotate_OrderList_Down.Size = new System.Drawing.Size(22, 22);
            this.Rotate_OrderList_Down.Tag = "down";
            this.Rotate_OrderList_Down.ToolTipText = "Move Item Down";
            this.Rotate_OrderList_Down.Click += new System.EventHandler(this.Rotate_OrderList_Btn_Click);
            // 
            // toolStripSeparator3
            // 
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(23, 6);
            // 
            // Rotate_OrderList_Delete
            // 
            this.Rotate_OrderList_Delete.AutoSize = false;
            this.Rotate_OrderList_Delete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Rotate_OrderList_Delete.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Rotate_OrderList_Delete.Name = "Rotate_OrderList_Delete";
            this.Rotate_OrderList_Delete.Size = new System.Drawing.Size(22, 22);
            this.Rotate_OrderList_Delete.Tag = "delete";
            this.Rotate_OrderList_Delete.ToolTipText = "Delete";
            this.Rotate_OrderList_Delete.Click += new System.EventHandler(this.Rotate_OrderList_Btn_Click);
            // 
            // panelRotate_Sample
            // 
            this.panelRotate_Sample.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panelRotate_Sample.Controls.Add(this.labelDur);
            this.panelRotate_Sample.Controls.Add(this.btnAddPosition);
            this.panelRotate_Sample.Controls.Add(this.btnDuration);
            this.panelRotate_Sample.Controls.Add(this.LabelMediaType);
            this.panelRotate_Sample.Controls.Add(this.labelMed);
            this.panelRotate_Sample.Controls.Add(this.panelRotate_Media);
            this.panelRotate_Sample.Controls.Add(this.labelPos);
            this.panelRotate_Sample.Controls.Add(this.LabelPosition);
            this.panelRotate_Sample.Controls.Add(this.panelLoc);
            this.panelRotate_Sample.Controls.Add(this.LabelDuration);
            this.panelRotate_Sample.Controls.Add(this.Rotate_tbSourceLocation);
            this.panelRotate_Sample.Controls.Add(this.TrackBarVolume);
            this.panelRotate_Sample.Controls.Add(this.panelPlayBtns);
            this.panelRotate_Sample.Controls.Add(this.labelVol);
            this.panelRotate_Sample.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panelRotate_Sample.Location = new System.Drawing.Point(0, 0);
            this.panelRotate_Sample.Name = "panelRotate_Sample";
            this.panelRotate_Sample.Size = new System.Drawing.Size(276, 207);
            this.panelRotate_Sample.TabIndex = 31;
            this.panelRotate_Sample.Resize += new System.EventHandler(this.panelRotate_Sample_Resize);
            // 
            // labelDur
            // 
            this.labelDur.AutoSize = true;
            this.labelDur.Location = new System.Drawing.Point(6, 28);
            this.labelDur.Name = "labelDur";
            this.labelDur.Size = new System.Drawing.Size(43, 13);
            this.labelDur.TabIndex = 68;
            this.labelDur.Text = "Length:";
            // 
            // btnAddPosition
            // 
            this.btnAddPosition.Location = new System.Drawing.Point(7, 118);
            this.btnAddPosition.Name = "btnAddPosition";
            this.btnAddPosition.Size = new System.Drawing.Size(41, 22);
            this.btnAddPosition.TabIndex = 1;
            this.toolTip1.SetToolTip(this.btnAddPosition, "Copy current position to next blank timing");
            this.btnAddPosition.Click += new System.EventHandler(this.btnAddPosition_Click);
            // 
            // btnDuration
            // 
            this.btnDuration.Location = new System.Drawing.Point(7, 58);
            this.btnDuration.Name = "btnDuration";
            this.btnDuration.Size = new System.Drawing.Size(41, 23);
            this.btnDuration.TabIndex = 0;
            this.btnDuration.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.toolTip1.SetToolTip(this.btnDuration, "Click to Store length");
            this.btnDuration.Click += new System.EventHandler(this.btnDuration_Click);
            // 
            // LabelMediaType
            // 
            this.LabelMediaType.AutoSize = true;
            this.LabelMediaType.ForeColor = System.Drawing.Color.Red;
            this.LabelMediaType.Location = new System.Drawing.Point(93, 190);
            this.LabelMediaType.Name = "LabelMediaType";
            this.LabelMediaType.Size = new System.Drawing.Size(33, 13);
            this.LabelMediaType.TabIndex = 30;
            this.LabelMediaType.Text = "None";
            // 
            // labelMed
            // 
            this.labelMed.AutoSize = true;
            this.labelMed.Location = new System.Drawing.Point(56, 190);
            this.labelMed.Name = "labelMed";
            this.labelMed.Size = new System.Drawing.Size(39, 13);
            this.labelMed.TabIndex = 29;
            this.labelMed.Text = "Media:";
            // 
            // panelRotate_Media
            // 
            this.panelRotate_Media.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panelRotate_Media.Controls.Add(this.panelNoPlayer);
            this.panelRotate_Media.Location = new System.Drawing.Point(55, 26);
            this.panelRotate_Media.Name = "panelRotate_Media";
            this.panelRotate_Media.Size = new System.Drawing.Size(160, 120);
            this.panelRotate_Media.TabIndex = 66;
            // 
            // panelNoPlayer
            // 
            this.panelNoPlayer.BackColor = System.Drawing.Color.MidnightBlue;
            this.panelNoPlayer.Controls.Add(this.label14);
            this.panelNoPlayer.Controls.Add(this.labelNoPlayer1);
            this.panelNoPlayer.Controls.Add(this.labelNoPlayer2);
            this.panelNoPlayer.ForeColor = System.Drawing.Color.White;
            this.panelNoPlayer.Location = new System.Drawing.Point(0, 0);
            this.panelNoPlayer.Name = "panelNoPlayer";
            this.panelNoPlayer.Size = new System.Drawing.Size(156, 116);
            this.panelNoPlayer.TabIndex = 1;
            this.panelNoPlayer.Visible = false;
            // 
            // label14
            // 
            this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label14.Location = new System.Drawing.Point(-1, 60);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(154, 32);
            this.label14.TabIndex = 25;
            this.label14.Text = "to view / listen to Media Backgrounds.";
            this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // labelNoPlayer1
            // 
            this.labelNoPlayer1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelNoPlayer1.Location = new System.Drawing.Point(20, 16);
            this.labelNoPlayer1.Name = "labelNoPlayer1";
            this.labelNoPlayer1.Size = new System.Drawing.Size(111, 20);
            this.labelNoPlayer1.TabIndex = 0;
            this.labelNoPlayer1.Text = "Please install";
            this.labelNoPlayer1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // labelNoPlayer2
            // 
            this.labelNoPlayer2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelNoPlayer2.Location = new System.Drawing.Point(1, 33);
            this.labelNoPlayer2.Name = "labelNoPlayer2";
            this.labelNoPlayer2.Size = new System.Drawing.Size(154, 31);
            this.labelNoPlayer2.TabIndex = 0;
            this.labelNoPlayer2.Text = "Windows Media Player 10 or DirectX 9";
            this.labelNoPlayer2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // labelPos
            // 
            this.labelPos.AutoSize = true;
            this.labelPos.Location = new System.Drawing.Point(6, 87);
            this.labelPos.Name = "labelPos";
            this.labelPos.Size = new System.Drawing.Size(47, 13);
            this.labelPos.TabIndex = 26;
            this.labelPos.Text = "Position:";
            // 
            // LabelPosition
            // 
            this.LabelPosition.AutoSize = true;
            this.LabelPosition.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.LabelPosition.ForeColor = System.Drawing.Color.Red;
            this.LabelPosition.Location = new System.Drawing.Point(6, 102);
            this.LabelPosition.Name = "LabelPosition";
            this.LabelPosition.Size = new System.Drawing.Size(32, 13);
            this.LabelPosition.TabIndex = 28;
            this.LabelPosition.Text = "0:00";
            // 
            // panelLoc
            // 
            this.panelLoc.Controls.Add(this.toolStrip3);
            this.panelLoc.Location = new System.Drawing.Point(176, 1);
            this.panelLoc.Name = "panelLoc";
            this.panelLoc.Size = new System.Drawing.Size(23, 23);
            this.panelLoc.TabIndex = 63;
            // 
            // toolStrip3
            // 
            this.toolStrip3.AutoSize = false;
            this.toolStrip3.CanOverflow = false;
            this.toolStrip3.Dock = System.Windows.Forms.DockStyle.None;
            this.toolStrip3.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStrip3.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.Rotate_LocationBtn});
            this.toolStrip3.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
            this.toolStrip3.Location = new System.Drawing.Point(1, 0);
            this.toolStrip3.Name = "toolStrip3";
            this.toolStrip3.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
            this.toolStrip3.Size = new System.Drawing.Size(25, 30);
            this.toolStrip3.TabIndex = 0;
            // 
            // Rotate_LocationBtn
            // 
            this.Rotate_LocationBtn.AutoSize = false;
            this.Rotate_LocationBtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Rotate_LocationBtn.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Rotate_LocationBtn.Name = "Rotate_LocationBtn";
            this.Rotate_LocationBtn.Size = new System.Drawing.Size(22, 22);
            this.Rotate_LocationBtn.Tag = "";
            this.Rotate_LocationBtn.ToolTipText = "Media File Location";
            this.Rotate_LocationBtn.Click += new System.EventHandler(this.Rotate_LocationBtn_Click);
            // 
            // LabelDuration
            // 
            this.LabelDuration.AutoSize = true;
            this.LabelDuration.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.LabelDuration.ForeColor = System.Drawing.SystemColors.MenuHighlight;
            this.LabelDuration.Location = new System.Drawing.Point(6, 43);
            this.LabelDuration.Name = "LabelDuration";
            this.LabelDuration.Size = new System.Drawing.Size(32, 13);
            this.LabelDuration.TabIndex = 27;
            this.LabelDuration.Text = "0:00";
            // 
            // Rotate_tbSourceLocation
            // 
            this.Rotate_tbSourceLocation.Location = new System.Drawing.Point(3, 3);
            this.Rotate_tbSourceLocation.Name = "Rotate_tbSourceLocation";
            this.Rotate_tbSourceLocation.Size = new System.Drawing.Size(166, 20);
            this.Rotate_tbSourceLocation.TabIndex = 0;
            this.toolTip1.SetToolTip(this.Rotate_tbSourceLocation, "Optional Media File for Reference (Filename will not be saved)");
            // 
            // TrackBarVolume
            // 
            this.TrackBarVolume.AutoSize = false;
            this.TrackBarVolume.Location = new System.Drawing.Point(216, 42);
            this.TrackBarVolume.Maximum = 100;
            this.TrackBarVolume.Name = "TrackBarVolume";
            this.TrackBarVolume.Orientation = System.Windows.Forms.Orientation.Vertical;
            this.TrackBarVolume.Size = new System.Drawing.Size(37, 113);
            this.TrackBarVolume.TabIndex = 8;
            this.TrackBarVolume.TickFrequency = 10;
            this.TrackBarVolume.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
            this.TrackBarVolume.ValueChanged += new System.EventHandler(this.TrackBarVolume_ValueChanged);
            // 
            // panelPlayBtns
            // 
            this.panelPlayBtns.Controls.Add(this.TrackBarDuration);
            this.panelPlayBtns.Controls.Add(this.StopBtn);
            this.panelPlayBtns.Controls.Add(this.PlayPauseBtn);
            this.panelPlayBtns.Controls.Add(this.FastReverseBtn);
            this.panelPlayBtns.Controls.Add(this.FastForwardBtn);
            this.panelPlayBtns.Location = new System.Drawing.Point(49, 147);
            this.panelPlayBtns.Name = "panelPlayBtns";
            this.panelPlayBtns.Size = new System.Drawing.Size(167, 41);
            this.panelPlayBtns.TabIndex = 24;
            // 
            // TrackBarDuration
            // 
            this.TrackBarDuration.AutoSize = false;
            this.TrackBarDuration.Location = new System.Drawing.Point(-4, 0);
            this.TrackBarDuration.Maximum = 1000;
            this.TrackBarDuration.Name = "TrackBarDuration";
            this.TrackBarDuration.Size = new System.Drawing.Size(172, 18);
            this.TrackBarDuration.TabIndex = 11;
            this.TrackBarDuration.TickFrequency = 0;
            this.TrackBarDuration.TickStyle = System.Windows.Forms.TickStyle.None;
            this.TrackBarDuration.Scroll += new System.EventHandler(this.TrackBarDuration_Scroll);
            // 
            // StopBtn
            // 
            this.StopBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.StopBtn.Location = new System.Drawing.Point(124, 18);
            this.StopBtn.Name = "StopBtn";
            this.StopBtn.Size = new System.Drawing.Size(40, 23);
            this.StopBtn.TabIndex = 16;
            this.StopBtn.Text = "Stop";
            this.StopBtn.Click += new System.EventHandler(this.StopBtn_Click);
            // 
            // PlayPauseBtn
            // 
            this.PlayPauseBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.PlayPauseBtn.Location = new System.Drawing.Point(73, 18);
            this.PlayPauseBtn.Name = "PlayPauseBtn";
            this.PlayPauseBtn.Size = new System.Drawing.Size(49, 23);
            this.PlayPauseBtn.TabIndex = 17;
            this.PlayPauseBtn.Text = "Play";
            this.PlayPauseBtn.Click += new System.EventHandler(this.PlayPauseBtn_Click);
            // 
            // FastReverseBtn
            // 
            this.FastReverseBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.FastReverseBtn.Location = new System.Drawing.Point(8, 18);
            this.FastReverseBtn.Name = "FastReverseBtn";
            this.FastReverseBtn.Size = new System.Drawing.Size(30, 23);
            this.FastReverseBtn.TabIndex = 0;
            this.FastReverseBtn.Text = "<<";
            this.FastReverseBtn.MouseDown += new System.Windows.Forms.MouseEventHandler(this.FastReverseBtn_MouseDown);
            this.FastReverseBtn.MouseUp += new System.Windows.Forms.MouseEventHandler(this.FastReverseBtn_MouseUp);
            // 
            // FastForwardBtn
            // 
            this.FastForwardBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.FastForwardBtn.Location = new System.Drawing.Point(40, 18);
            this.FastForwardBtn.Name = "FastForwardBtn";
            this.FastForwardBtn.Size = new System.Drawing.Size(30, 23);
            this.FastForwardBtn.TabIndex = 1;
            this.FastForwardBtn.Text = ">>";
            this.FastForwardBtn.MouseDown += new System.Windows.Forms.MouseEventHandler(this.FastForwardBtn_MouseDown);
            this.FastForwardBtn.MouseUp += new System.Windows.Forms.MouseEventHandler(this.FastForwardBtn_MouseUp);
            // 
            // labelVol
            // 
            this.labelVol.AutoSize = true;
            this.labelVol.Location = new System.Drawing.Point(216, 26);
            this.labelVol.Name = "labelVol";
            this.labelVol.Size = new System.Drawing.Size(42, 13);
            this.labelVol.TabIndex = 9;
            this.labelVol.Text = "Volume";
            // 
            // panelRotateLeft
            // 
            this.panelRotateLeft.Controls.Add(this.flowLayoutRotate);
            this.panelRotateLeft.Controls.Add(this.panelRotateLeftTop2);
            this.panelRotateLeft.Controls.Add(this.panelRotateLeftTop1);
            this.panelRotateLeft.Dock = System.Windows.Forms.DockStyle.Left;
            this.panelRotateLeft.Location = new System.Drawing.Point(0, 0);
            this.panelRotateLeft.Name = "panelRotateLeft";
            this.panelRotateLeft.Size = new System.Drawing.Size(123, 319);
            this.panelRotateLeft.TabIndex = 32;
            // 
            // flowLayoutRotate
            // 
            this.flowLayoutRotate.AutoScroll = true;
            this.flowLayoutRotate.Dock = System.Windows.Forms.DockStyle.Fill;
            this.flowLayoutRotate.Location = new System.Drawing.Point(0, 138);
            this.flowLayoutRotate.Name = "flowLayoutRotate";
            this.flowLayoutRotate.Size = new System.Drawing.Size(123, 181);
            this.flowLayoutRotate.TabIndex = 7;
            // 
            // panelRotateLeftTop2
            // 
            this.panelRotateLeftTop2.Controls.Add(this.Rotate_TimeTotal);
            this.panelRotateLeftTop2.Controls.Add(this.btnClearMediaPositions);
            this.panelRotateLeftTop2.Controls.Add(this.label21);
            this.panelRotateLeftTop2.Controls.Add(this.label19);
            this.panelRotateLeftTop2.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelRotateLeftTop2.Location = new System.Drawing.Point(0, 66);
            this.panelRotateLeftTop2.Name = "panelRotateLeftTop2";
            this.panelRotateLeftTop2.Size = new System.Drawing.Size(123, 72);
            this.panelRotateLeftTop2.TabIndex = 0;
            // 
            // Rotate_TimeTotal
            // 
            this.Rotate_TimeTotal.CustomFormat = "mm:ss";
            this.Rotate_TimeTotal.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.Rotate_TimeTotal.Location = new System.Drawing.Point(56, 30);
            this.Rotate_TimeTotal.Name = "Rotate_TimeTotal";
            this.Rotate_TimeTotal.ShowUpDown = true;
            this.Rotate_TimeTotal.Size = new System.Drawing.Size(52, 20);
            this.Rotate_TimeTotal.TabIndex = 1;
            // 
            // btnClearMediaPositions
            // 
            this.btnClearMediaPositions.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.btnClearMediaPositions.Location = new System.Drawing.Point(4, 2);
            this.btnClearMediaPositions.Name = "btnClearMediaPositions";
            this.btnClearMediaPositions.Size = new System.Drawing.Size(112, 24);
            this.btnClearMediaPositions.TabIndex = 0;
            this.btnClearMediaPositions.Text = "Clear All Timings";
            this.toolTip1.SetToolTip(this.btnClearMediaPositions, "Copy to next blank Position");
            this.btnClearMediaPositions.Click += new System.EventHandler(this.btnClearMediaPositions_Click);
            // 
            // label21
            // 
            this.label21.AutoSize = true;
            this.label21.Location = new System.Drawing.Point(3, 54);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(115, 13);
            this.label21.TabIndex = 1;
            this.label21.Text = "Sequence/Start mm:ss";
            this.label21.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // label19
            // 
            this.label19.AutoSize = true;
            this.label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label19.Location = new System.Drawing.Point(4, 34);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(50, 13);
            this.label19.TabIndex = 25;
            this.label19.Text = "Length:";
            // 
            // panelRotateLeftTop1
            // 
            this.panelRotateLeftTop1.Controls.Add(this.groupBox3);
            this.panelRotateLeftTop1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelRotateLeftTop1.Location = new System.Drawing.Point(0, 0);
            this.panelRotateLeftTop1.Name = "panelRotateLeftTop1";
            this.panelRotateLeftTop1.Size = new System.Drawing.Size(123, 66);
            this.panelRotateLeftTop1.TabIndex = 68;
            // 
            // groupBox3
            // 
            this.groupBox3.Controls.Add(this.Rotate_SlidesGapUpDown);
            this.groupBox3.Controls.Add(this.Rotate_Equal);
            this.groupBox3.Controls.Add(this.Rotate_Multiple);
            this.groupBox3.Location = new System.Drawing.Point(4, 0);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(112, 60);
            this.groupBox3.TabIndex = 9;
            this.groupBox3.TabStop = false;
            // 
            // Rotate_SlidesGapUpDown
            // 
            this.Rotate_SlidesGapUpDown.Location = new System.Drawing.Point(63, 13);
            this.Rotate_SlidesGapUpDown.Name = "Rotate_SlidesGapUpDown";
            this.Rotate_SlidesGapUpDown.Size = new System.Drawing.Size(43, 20);
            this.Rotate_SlidesGapUpDown.TabIndex = 2;
            this.toolTip1.SetToolTip(this.Rotate_SlidesGapUpDown, "Timing in seconds");
            // 
            // Rotate_Equal
            // 
            this.Rotate_Equal.AutoSize = true;
            this.Rotate_Equal.Location = new System.Drawing.Point(7, 15);
            this.Rotate_Equal.Name = "Rotate_Equal";
            this.Rotate_Equal.Size = new System.Drawing.Size(59, 17);
            this.Rotate_Equal.TabIndex = 0;
            this.Rotate_Equal.Tag = "1";
            this.Rotate_Equal.Text = "Simple:";
            this.toolTip1.SetToolTip(this.Rotate_Equal, "Rotate each slide in equal seconds");
            this.Rotate_Equal.CheckedChanged += new System.EventHandler(this.Rotate_Option_CheckedChanged);
            // 
            // Rotate_Multiple
            // 
            this.Rotate_Multiple.AutoSize = true;
            this.Rotate_Multiple.Location = new System.Drawing.Point(7, 37);
            this.Rotate_Multiple.Name = "Rotate_Multiple";
            this.Rotate_Multiple.Size = new System.Drawing.Size(77, 17);
            this.Rotate_Multiple.TabIndex = 1;
            this.Rotate_Multiple.Tag = "2";
            this.Rotate_Multiple.Text = "Sequence:";
            // 
            // panel6
            // 
            this.panel6.Dock = System.Windows.Forms.DockStyle.Right;
            this.panel6.Location = new System.Drawing.Point(413, 0);
            this.panel6.Name = "panel6";
            this.panel6.Size = new System.Drawing.Size(3, 351);
            this.panel6.TabIndex = 6;
            // 
            // menuStripMain
            // 
            this.menuStripMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.Menu_MainFile,
            this.Menu_MainTools});
            this.menuStripMain.Location = new System.Drawing.Point(0, 0);
            this.menuStripMain.Name = "menuStripMain";
            this.menuStripMain.Size = new System.Drawing.Size(775, 24);
            this.menuStripMain.TabIndex = 6;
            this.menuStripMain.Text = "menuStrip1";
            // 
            // Menu_MainFile
            // 
            this.Menu_MainFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.Menu_New,
            this.Menu_Save,
            this.Menu_SaveAs,
            this.Menu_SaveExit,
            this.toolStripSeparator16,
            this.Menu_EditHistoryList,
            this.toolStripSeparator18,
            this.Menu_Exit});
            this.Menu_MainFile.Name = "Menu_MainFile";
            this.Menu_MainFile.Size = new System.Drawing.Size(37, 20);
            this.Menu_MainFile.Text = "&File";
            // 
            // Menu_New
            // 
            this.Menu_New.Name = "Menu_New";
            this.Menu_New.Size = new System.Drawing.Size(138, 22);
            this.Menu_New.Text = "&New";
            this.Menu_New.Click += new System.EventHandler(this.Menu_New_Click);
            // 
            // Menu_Save
            // 
            this.Menu_Save.Name = "Menu_Save";
            this.Menu_Save.Size = new System.Drawing.Size(138, 22);
            this.Menu_Save.Text = "&Save";
            this.Menu_Save.Click += new System.EventHandler(this.Menu_Save_Click);
            // 
            // Menu_SaveAs
            // 
            this.Menu_SaveAs.Name = "Menu_SaveAs";
            this.Menu_SaveAs.Size = new System.Drawing.Size(138, 22);
            this.Menu_SaveAs.Text = "Save &As...";
            this.Menu_SaveAs.Click += new System.EventHandler(this.Menu_SaveAs_Click);
            // 
            // Menu_SaveExit
            // 
            this.Menu_SaveExit.Name = "Menu_SaveExit";
            this.Menu_SaveExit.Size = new System.Drawing.Size(138, 22);
            this.Menu_SaveExit.Text = "Save && &Exit";
            this.Menu_SaveExit.Click += new System.EventHandler(this.Menu_SaveExit_Click);
            // 
            // toolStripSeparator16
            // 
            this.toolStripSeparator16.Name = "toolStripSeparator16";
            this.toolStripSeparator16.Size = new System.Drawing.Size(135, 6);
            // 
            // Menu_EditHistoryList
            // 
            this.Menu_EditHistoryList.Name = "Menu_EditHistoryList";
            this.Menu_EditHistoryList.Size = new System.Drawing.Size(138, 22);
            this.Menu_EditHistoryList.Text = "&Recent Edits";
            // 
            // toolStripSeparator18
            // 
            this.toolStripSeparator18.Name = "toolStripSeparator18";
            this.toolStripSeparator18.Size = new System.Drawing.Size(135, 6);
            // 
            // Menu_Exit
            // 
            this.Menu_Exit.Name = "Menu_Exit";
            this.Menu_Exit.Size = new System.Drawing.Size(138, 22);
            this.Menu_Exit.Text = "E&xit";
            this.Menu_Exit.Click += new System.EventHandler(this.Menu_Exit_Click);
            // 
            // Menu_MainTools
            // 
            this.Menu_MainTools.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.Menu_Import,
            this.Menu_WordWrap,
            this.Menu_ChordsMenu,
            this.Menu_EditHistorySeparator,
            this.Menu_TransposeDown,
            this.Menu_TransposeUp,
            this.toolStripSeparator6,
            this.Menu_ShowAllButtons});
            this.Menu_MainTools.Name = "Menu_MainTools";
            this.Menu_MainTools.Size = new System.Drawing.Size(48, 20);
            this.Menu_MainTools.Text = "&Tools";
            // 
            // Menu_Import
            // 
            this.Menu_Import.Name = "Menu_Import";
            this.Menu_Import.Size = new System.Drawing.Size(208, 22);
            this.Menu_Import.Text = "&Import...";
            this.Menu_Import.Click += new System.EventHandler(this.Menu_Import_Click);
            // 
            // Menu_WordWrap
            // 
            this.Menu_WordWrap.CheckOnClick = true;
            this.Menu_WordWrap.Name = "Menu_WordWrap";
            this.Menu_WordWrap.Size = new System.Drawing.Size(208, 22);
            this.Menu_WordWrap.Text = "&Word Wrap";
            this.Menu_WordWrap.Click += new System.EventHandler(this.Main_WordWrap_Click);
            // 
            // Menu_ChordsMenu
            // 
            this.Menu_ChordsMenu.CheckOnClick = true;
            this.Menu_ChordsMenu.Name = "Menu_ChordsMenu";
            this.Menu_ChordsMenu.Size = new System.Drawing.Size(208, 22);
            this.Menu_ChordsMenu.Text = "Right-Click Chords Menu";
            this.Menu_ChordsMenu.Click += new System.EventHandler(this.Menu_ChordsMenu_Click);
            // 
            // Menu_EditHistorySeparator
            // 
            this.Menu_EditHistorySeparator.Name = "Menu_EditHistorySeparator";
            this.Menu_EditHistorySeparator.Size = new System.Drawing.Size(205, 6);
            // 
            // Menu_TransposeDown
            // 
            this.Menu_TransposeDown.Name = "Menu_TransposeDown";
            this.Menu_TransposeDown.Size = new System.Drawing.Size(208, 22);
            this.Menu_TransposeDown.Text = "Transpose Chord &Down";
            this.Menu_TransposeDown.Click += new System.EventHandler(this.Menu_TransposeDown_Click);
            // 
            // Menu_TransposeUp
            // 
            this.Menu_TransposeUp.Name = "Menu_TransposeUp";
            this.Menu_TransposeUp.Size = new System.Drawing.Size(208, 22);
            this.Menu_TransposeUp.Text = "Transpose Chord &Up";
            this.Menu_TransposeUp.Click += new System.EventHandler(this.Menu_TransposeUp_Click);
            // 
            // toolStripSeparator6
            // 
            this.toolStripSeparator6.Name = "toolStripSeparator6";
            this.toolStripSeparator6.Size = new System.Drawing.Size(205, 6);
            // 
            // Menu_ShowAllButtons
            // 
            this.Menu_ShowAllButtons.CheckOnClick = true;
            this.Menu_ShowAllButtons.Name = "Menu_ShowAllButtons";
            this.Menu_ShowAllButtons.Size = new System.Drawing.Size(208, 22);
            this.Menu_ShowAllButtons.Text = "Show All &Buttons";
            this.Menu_ShowAllButtons.Click += new System.EventHandler(this.Menu_ShowAllButtons_Click);
            // 
            // TimerEditRequest
            // 
            this.TimerEditRequest.Interval = 1000;
            this.TimerEditRequest.Tick += new System.EventHandler(this.TimerEditRequest_Tick);
            // 
            // OpenFileDialog1
            // 
            this.OpenFileDialog1.FileName = "openFileDialog1";
            // 
            // splitContainerMain
            // 
            this.splitContainerMain.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerMain.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
            this.splitContainerMain.Location = new System.Drawing.Point(0, 49);
            this.splitContainerMain.Name = "splitContainerMain";
            this.splitContainerMain.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // splitContainerMain.Panel1
            // 
            this.splitContainerMain.Panel1.BackColor = System.Drawing.SystemColors.Control;
            this.splitContainerMain.Panel1.Controls.Add(this.groupBox2);
            this.splitContainerMain.Panel1.Controls.Add(this.groupBox1);
            // 
            // splitContainerMain.Panel2
            // 
            this.splitContainerMain.Panel2.Controls.Add(this.splitContainer1);
            this.splitContainerMain.Size = new System.Drawing.Size(775, 490);
            this.splitContainerMain.SplitterDistance = 131;
            this.splitContainerMain.TabIndex = 0;
            this.splitContainerMain.Text = "splitContainer2";
            this.splitContainerMain.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainerMain_SplitterMoved);
            // 
            // groupBox2
            // 
            this.groupBox2.Controls.Add(this.panelVerses);
            this.groupBox2.Controls.Add(this.panelOrderList);
            this.groupBox2.Controls.Add(this.panelSeqSet);
            this.groupBox2.Controls.Add(this.panelSeqUpDown);
            this.groupBox2.Location = new System.Drawing.Point(447, 1);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Padding = new System.Windows.Forms.Padding(0);
            this.groupBox2.Size = new System.Drawing.Size(239, 129);
            this.groupBox2.TabIndex = 1;
            this.groupBox2.TabStop = false;
            // 
            // panelVerses
            // 
            this.panelVerses.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panelVerses.Controls.Add(this.VersesList);
            this.panelVerses.Controls.Add(this.panel2);
            this.panelVerses.Location = new System.Drawing.Point(6, 10);
            this.panelVerses.Name = "panelVerses";
            this.panelVerses.Size = new System.Drawing.Size(90, 114);
            this.panelVerses.TabIndex = 1;
            // 
            // VersesList
            // 
            this.VersesList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader1,
            this.columnHeader2});
            this.VersesList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.VersesList.FullRowSelect = true;
            this.VersesList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
            this.VersesList.Location = new System.Drawing.Point(0, 14);
            this.VersesList.Name = "VersesList";
            this.VersesList.ShowItemToolTips = true;
            this.VersesList.Size = new System.Drawing.Size(86, 96);
            this.VersesList.TabIndex = 0;
            this.VersesList.UseCompatibleStateImageBehavior = false;
            this.VersesList.View = System.Windows.Forms.View.Details;
            this.VersesList.DoubleClick += new System.EventHandler(this.VersesList_DoubleClick);
            // 
            // columnHeader1
            // 
            this.columnHeader1.Width = 65;
            // 
            // columnHeader2
            // 
            this.columnHeader2.Width = 0;
            // 
            // panel2
            // 
            this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel2.Controls.Add(this.label16);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel2.Location = new System.Drawing.Point(0, 0);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(86, 14);
            this.panel2.TabIndex = 0;
            // 
            // label16
            // 
            this.label16.AutoSize = true;
            this.label16.Location = new System.Drawing.Point(12, -1);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(39, 13);
            this.label16.TabIndex = 0;
            this.label16.Text = "Verses";
            // 
            // panelOrderList
            // 
            this.panelOrderList.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panelOrderList.Controls.Add(this.OrderList);
            this.panelOrderList.Controls.Add(this.panel4);
            this.panelOrderList.Location = new System.Drawing.Point(122, 10);
            this.panelOrderList.Name = "panelOrderList";
            this.panelOrderList.Size = new System.Drawing.Size(90, 114);
            this.panelOrderList.TabIndex = 2;
            // 
            // OrderList
            // 
            this.OrderList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader3,
            this.columnHeader4});
            this.OrderList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.OrderList.FullRowSelect = true;
            this.OrderList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
            this.OrderList.Location = new System.Drawing.Point(0, 14);
            this.OrderList.Name = "OrderList";
            this.OrderList.Size = new System.Drawing.Size(86, 96);
            this.OrderList.TabIndex = 0;
            this.OrderList.UseCompatibleStateImageBehavior = false;
            this.OrderList.View = System.Windows.Forms.View.Details;
            this.OrderList.KeyUp += new System.Windows.Forms.KeyEventHandler(this.OrderList_KeyUp);
            // 
            // columnHeader3
            // 
            this.columnHeader3.Width = 65;
            // 
            // columnHeader4
            // 
            this.columnHeader4.Width = 0;
            // 
            // panel4
            // 
            this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel4.Controls.Add(this.label17);
            this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel4.Location = new System.Drawing.Point(0, 0);
            this.panel4.Name = "panel4";
            this.panel4.Size = new System.Drawing.Size(86, 14);
            this.panel4.TabIndex = 0;
            // 
            // label17
            // 
            this.label17.AutoSize = true;
            this.label17.Location = new System.Drawing.Point(10, -1);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(56, 13);
            this.label17.TabIndex = 0;
            this.label17.Text = "Sequence";
            // 
            // panelSeqSet
            // 
            this.panelSeqSet.Controls.Add(this.toolStripSeqSet);
            this.panelSeqSet.Location = new System.Drawing.Point(95, 28);
            this.panelSeqSet.Name = "panelSeqSet";
            this.panelSeqSet.Size = new System.Drawing.Size(25, 52);
            this.panelSeqSet.TabIndex = 13;
            // 
            // toolStripSeqSet
            // 
            this.toolStripSeqSet.AutoSize = false;
            this.toolStripSeqSet.CanOverflow = false;
            this.toolStripSeqSet.Dock = System.Windows.Forms.DockStyle.None;
            this.toolStripSeqSet.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStripSeqSet.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.Verses_Add,
            this.Verses_SmartAdd});
            this.toolStripSeqSet.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.VerticalStackWithOverflow;
            this.toolStripSeqSet.Location = new System.Drawing.Point(0, 1);
            this.toolStripSeqSet.Name = "toolStripSeqSet";
            this.toolStripSeqSet.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
            this.toolStripSeqSet.Size = new System.Drawing.Size(25, 62);
            this.toolStripSeqSet.TabIndex = 5;
            // 
            // Verses_Add
            // 
            this.Verses_Add.AutoSize = false;
            this.Verses_Add.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Verses_Add.Image = global::Properties.Resources.right;
            this.Verses_Add.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Verses_Add.Name = "Verses_Add";
            this.Verses_Add.Size = new System.Drawing.Size(22, 22);
            this.Verses_Add.Tag = "";
            this.Verses_Add.ToolTipText = "Move Item Up";
            this.Verses_Add.Click += new System.EventHandler(this.Verses_Add_Click);
            // 
            // Verses_SmartAdd
            // 
            this.Verses_SmartAdd.AutoSize = false;
            this.Verses_SmartAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Verses_SmartAdd.Image = global::Properties.Resources.right2;
            this.Verses_SmartAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Verses_SmartAdd.Name = "Verses_SmartAdd";
            this.Verses_SmartAdd.Size = new System.Drawing.Size(22, 22);
            this.Verses_SmartAdd.Tag = "";
            this.Verses_SmartAdd.ToolTipText = "Move Item Down";
            this.Verses_SmartAdd.Click += new System.EventHandler(this.Verses_Add_Click);
            // 
            // panelSeqUpDown
            // 
            this.panelSeqUpDown.Controls.Add(this.toolStripSeqUpDown);
            this.panelSeqUpDown.Location = new System.Drawing.Point(211, 26);
            this.panelSeqUpDown.Name = "panelSeqUpDown";
            this.panelSeqUpDown.Size = new System.Drawing.Size(25, 79);
            this.panelSeqUpDown.TabIndex = 12;
            // 
            // toolStripSeqUpDown
            // 
            this.toolStripSeqUpDown.AutoSize = false;
            this.toolStripSeqUpDown.CanOverflow = false;
            this.toolStripSeqUpDown.Dock = System.Windows.Forms.DockStyle.None;
            this.toolStripSeqUpDown.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStripSeqUpDown.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.OrderList_Up,
            this.OrderList_Down,
            this.toolStripSeparator5,
            this.OrderList_Delete});
            this.toolStripSeqUpDown.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.VerticalStackWithOverflow;
            this.toolStripSeqUpDown.Location = new System.Drawing.Point(0, 0);
            this.toolStripSeqUpDown.Name = "toolStripSeqUpDown";
            this.toolStripSeqUpDown.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
            this.toolStripSeqUpDown.Size = new System.Drawing.Size(25, 83);
            this.toolStripSeqUpDown.TabIndex = 5;
            // 
            // OrderList_Up
            // 
            this.OrderList_Up.AutoSize = false;
            this.OrderList_Up.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.OrderList_Up.Image = global::Properties.Resources.moveUp;
            this.OrderList_Up.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.OrderList_Up.Name = "OrderList_Up";
            this.OrderList_Up.Size = new System.Drawing.Size(22, 22);
            this.OrderList_Up.Tag = "up";
            this.OrderList_Up.ToolTipText = "Move Item Up";
            this.OrderList_Up.Click += new System.EventHandler(this.OrderList_Btn_Click);
            // 
            // OrderList_Down
            // 
            this.OrderList_Down.AutoSize = false;
            this.OrderList_Down.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.OrderList_Down.Image = global::Properties.Resources.moveDown;
            this.OrderList_Down.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.OrderList_Down.Name = "OrderList_Down";
            this.OrderList_Down.Size = new System.Drawing.Size(22, 22);
            this.OrderList_Down.Tag = "down";
            this.OrderList_Down.ToolTipText = "Move Item Down";
            this.OrderList_Down.Click += new System.EventHandler(this.OrderList_Btn_Click);
            // 
            // toolStripSeparator5
            // 
            this.toolStripSeparator5.Name = "toolStripSeparator5";
            this.toolStripSeparator5.Size = new System.Drawing.Size(23, 6);
            // 
            // OrderList_Delete
            // 
            this.OrderList_Delete.AutoSize = false;
            this.OrderList_Delete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.OrderList_Delete.Image = global::Properties.Resources.deleteW;
            this.OrderList_Delete.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.OrderList_Delete.Name = "OrderList_Delete";
            this.OrderList_Delete.Size = new System.Drawing.Size(22, 22);
            this.OrderList_Delete.Tag = "delete";
            this.OrderList_Delete.ToolTipText = "Delete";
            this.OrderList_Delete.Click += new System.EventHandler(this.OrderList_Btn_Click);
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.panel7);
            this.groupBox1.Controls.Add(this.panel8);
            this.groupBox1.Location = new System.Drawing.Point(3, 1);
            this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 3, 6, 6);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Padding = new System.Windows.Forms.Padding(0);
            this.groupBox1.Size = new System.Drawing.Size(449, 129);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            // 
            // panel7
            // 
            this.panel7.Controls.Add(this.Btn_Title2);
            this.panel7.Controls.Add(this.Btn_Title);
            this.panel7.Controls.Add(this.Btn_Copyright);
            this.panel7.Controls.Add(this.Btn_Writer);
            this.panel7.Controls.Add(this.SongFolder);
            this.panel7.Controls.Add(this.panelLinkTitle2Lookup);
            this.panel7.Controls.Add(this.LinkTitle2Pic);
            this.panel7.Controls.Add(this.CopyrightInfo);
            this.panel7.Controls.Add(this.label2);
            this.panel7.Controls.Add(this.WriterInfo);
            this.panel7.Controls.Add(this.label3);
            this.panel7.Controls.Add(this.SongTitle2);
            this.panel7.Controls.Add(this.label4);
            this.panel7.Controls.Add(this.SongTitle);
            this.panel7.Controls.Add(this.label5);
            this.panel7.Controls.Add(this.labelFormat);
            this.panel7.Location = new System.Drawing.Point(3, 10);
            this.panel7.Name = "panel7";
            this.panel7.Size = new System.Drawing.Size(216, 114);
            this.panel7.TabIndex = 0;
            // 
            // Btn_Title2
            // 
            this.Btn_Title2.BackColor = System.Drawing.Color.Aqua;
            this.Btn_Title2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.Btn_Title2.Location = new System.Drawing.Point(140, 48);
            this.Btn_Title2.Name = "Btn_Title2";
            this.Btn_Title2.Size = new System.Drawing.Size(18, 20);
            this.Btn_Title2.TabIndex = 36;
            this.Btn_Title2.TabStop = false;
            this.Btn_Title2.Text = "...";
            this.Btn_Title2.UseVisualStyleBackColor = false;
            this.Btn_Title2.Visible = false;
            this.Btn_Title2.Click += new System.EventHandler(this.Btn_Click);
            this.Btn_Title2.Enter += new System.EventHandler(this.Btn_Enter);
            this.Btn_Title2.Leave += new System.EventHandler(this.Btn_Enter);
            // 
            // Btn_Title
            // 
            this.Btn_Title.BackColor = System.Drawing.Color.Aqua;
            this.Btn_Title.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.Btn_Title.Location = new System.Drawing.Point(193, 26);
            this.Btn_Title.Name = "Btn_Title";
            this.Btn_Title.Size = new System.Drawing.Size(18, 20);
            this.Btn_Title.TabIndex = 35;
            this.Btn_Title.TabStop = false;
            this.Btn_Title.Text = "...";
            this.Btn_Title.UseVisualStyleBackColor = false;
            this.Btn_Title.Visible = false;
            this.Btn_Title.Click += new System.EventHandler(this.Btn_Click);
            this.Btn_Title.Enter += new System.EventHandler(this.Btn_Enter);
            this.Btn_Title.Leave += new System.EventHandler(this.Btn_Enter);
            // 
            // Btn_Copyright
            // 
            this.Btn_Copyright.BackColor = System.Drawing.Color.Aqua;
            this.Btn_Copyright.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.Btn_Copyright.Location = new System.Drawing.Point(193, 92);
            this.Btn_Copyright.Name = "Btn_Copyright";
            this.Btn_Copyright.Size = new System.Drawing.Size(18, 20);
            this.Btn_Copyright.TabIndex = 34;
            this.Btn_Copyright.TabStop = false;
            this.Btn_Copyright.Text = "...";
            this.Btn_Copyright.UseVisualStyleBackColor = false;
            this.Btn_Copyright.Visible = false;
            this.Btn_Copyright.Click += new System.EventHandler(this.Btn_Click);
            this.Btn_Copyright.Enter += new System.EventHandler(this.Btn_Enter);
            this.Btn_Copyright.Leave += new System.EventHandler(this.Btn_Enter);
            // 
            // Btn_Writer
            // 
            this.Btn_Writer.BackColor = System.Drawing.Color.Aqua;
            this.Btn_Writer.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.Btn_Writer.Location = new System.Drawing.Point(193, 70);
            this.Btn_Writer.Name = "Btn_Writer";
            this.Btn_Writer.Size = new System.Drawing.Size(18, 20);
            this.Btn_Writer.TabIndex = 33;
            this.Btn_Writer.TabStop = false;
            this.Btn_Writer.Text = "...";
            this.Btn_Writer.UseVisualStyleBackColor = false;
            this.Btn_Writer.Visible = false;
            this.Btn_Writer.Click += new System.EventHandler(this.Btn_Click);
            this.Btn_Writer.Enter += new System.EventHandler(this.Btn_Enter);
            this.Btn_Writer.Leave += new System.EventHandler(this.Btn_Enter);
            // 
            // SongFolder
            // 
            this.SongFolder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.SongFolder.FormattingEnabled = true;
            this.SongFolder.Location = new System.Drawing.Point(93, 3);
            this.SongFolder.MaxDropDownItems = 12;
            this.SongFolder.Name = "SongFolder";
            this.SongFolder.Size = new System.Drawing.Size(118, 21);
            this.SongFolder.TabIndex = 1;
            this.SongFolder.SelectedIndexChanged += new System.EventHandler(this.SongFolder_SelectedIndexChanged);
            // 
            // panelLinkTitle2Lookup
            // 
            this.panelLinkTitle2Lookup.Controls.Add(this.toolStrip2);
            this.panelLinkTitle2Lookup.Location = new System.Drawing.Point(184, 47);
            this.panelLinkTitle2Lookup.Name = "panelLinkTitle2Lookup";
            this.panelLinkTitle2Lookup.Size = new System.Drawing.Size(22, 21);
            this.panelLinkTitle2Lookup.TabIndex = 28;
            // 
            // toolStrip2
            // 
            this.toolStrip2.AutoSize = false;
            this.toolStrip2.CanOverflow = false;
            this.toolStrip2.Dock = System.Windows.Forms.DockStyle.None;
            this.toolStrip2.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.Title2_LookUp});
            this.toolStrip2.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
            this.toolStrip2.Location = new System.Drawing.Point(0, -1);
            this.toolStrip2.Name = "toolStrip2";
            this.toolStrip2.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
            this.toolStrip2.Size = new System.Drawing.Size(28, 24);
            this.toolStrip2.TabIndex = 4;
            // 
            // Title2_LookUp
            // 
            this.Title2_LookUp.AutoSize = false;
            this.Title2_LookUp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.Title2_LookUp.Image = global::Properties.Resources.open;
            this.Title2_LookUp.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.Title2_LookUp.Name = "Title2_LookUp";
            this.Title2_LookUp.Size = new System.Drawing.Size(22, 22);
            this.Title2_LookUp.Tag = "down";
            this.Title2_LookUp.ToolTipText = "Look Up Title";
            this.Title2_LookUp.Click += new System.EventHandler(this.Title2_LookUp_Click);
            // 
            // LinkTitle2Pic
            // 
            this.LinkTitle2Pic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
            this.LinkTitle2Pic.Location = new System.Drawing.Point(162, 48);
            this.LinkTitle2Pic.Name = "LinkTitle2Pic";
            this.LinkTitle2Pic.Size = new System.Drawing.Size(21, 21);
            this.LinkTitle2Pic.TabIndex = 6;
            // 
            // CopyrightInfo
            // 
            this.CopyrightInfo.Location = new System.Drawing.Point(56, 92);
            this.CopyrightInfo.MaxLength = 100;
            this.CopyrightInfo.Name = "CopyrightInfo";
            this.CopyrightInfo.Size = new System.Drawing.Size(156, 20);
            this.CopyrightInfo.TabIndex = 6;
            this.CopyrightInfo.Enter += new System.EventHandler(this.TextBox_Enter);
            this.CopyrightInfo.Leave += new System.EventHandler(this.TextBox_Leave);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(3, 29);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(30, 13);
            this.label2.TabIndex = 4;
            this.label2.Text = "Title:";
            this.label2.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // WriterInfo
            // 
            this.WriterInfo.Location = new System.Drawing.Point(56, 70);
            this.WriterInfo.MaxLength = 100;
            this.WriterInfo.Name = "WriterInfo";
            this.WriterInfo.Size = new System.Drawing.Size(156, 20);
            this.WriterInfo.TabIndex = 5;
            this.WriterInfo.Enter += new System.EventHandler(this.TextBox_Enter);
            this.WriterInfo.Leave += new System.EventHandler(this.TextBox_Leave);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(3, 51);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(36, 13);
            this.label3.TabIndex = 5;
            this.label3.Text = "Title2:";
            this.label3.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // SongTitle2
            // 
            this.SongTitle2.Location = new System.Drawing.Point(56, 48);
            this.SongTitle2.MaxLength = 100;
            this.SongTitle2.Name = "SongTitle2";
            this.SongTitle2.Size = new System.Drawing.Size(103, 20);
            this.SongTitle2.TabIndex = 3;
            this.SongTitle2.Enter += new System.EventHandler(this.TextBox_Enter);
            this.SongTitle2.Leave += new System.EventHandler(this.TextBox_Leave);
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(3, 73);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(38, 13);
            this.label4.TabIndex = 6;
            this.label4.Text = "Writer:";
            this.label4.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // SongTitle
            // 
            this.SongTitle.Location = new System.Drawing.Point(56, 26);
            this.SongTitle.MaxLength = 100;
            this.SongTitle.Name = "SongTitle";
            this.SongTitle.Size = new System.Drawing.Size(141, 20);
            this.SongTitle.TabIndex = 2;
            this.SongTitle.Enter += new System.EventHandler(this.TextBox_Enter);
            this.SongTitle.Leave += new System.EventHandler(this.TextBox_Leave);
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(3, 94);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(54, 13);
            this.label5.TabIndex = 7;
            this.label5.Text = "Copyright:";
            this.label5.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // labelFormat
            // 
            this.labelFormat.AutoSize = true;
            this.labelFormat.Location = new System.Drawing.Point(3, 6);
            this.labelFormat.Name = "labelFormat";
            this.labelFormat.Size = new System.Drawing.Size(89, 13);
            this.labelFormat.TabIndex = 29;
            this.labelFormat.Text = "Format As Folder:";
            this.labelFormat.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // panel8
            // 
            this.panel8.Controls.Add(this.Btn_BookRef);
            this.panel8.Controls.Add(this.Btn_UserRef);
            this.panel8.Controls.Add(this.label6);
            this.panel8.Controls.Add(this.UserReference);
            this.panel8.Controls.Add(this.BookReference);
            this.panel8.Controls.Add(this.label9);
            this.panel8.Controls.Add(this.label10);
            this.panel8.Controls.Add(this.LicAdminInfo2);
            this.panel8.Controls.Add(this.LicAdminInfo1);
            this.panel8.Controls.Add(this.SongTiming);
            this.panel8.Controls.Add(this.label13);
            this.panel8.Controls.Add(this.SongKey);
            this.panel8.Controls.Add(this.SongNumber);
            this.panel8.Controls.Add(this.SongCapo);
            this.panel8.Controls.Add(this.label11);
            this.panel8.Controls.Add(this.label12);
            this.panel8.Controls.Add(this.label8);
            this.panel8.Controls.Add(this.label7);
            this.panel8.Location = new System.Drawing.Point(220, 10);
            this.panel8.Name = "panel8";
            this.panel8.Size = new System.Drawing.Size(221, 114);
            this.panel8.TabIndex = 1;
            // 
            // Btn_BookRef
            // 
            this.Btn_BookRef.BackColor = System.Drawing.Color.Aqua;
            this.Btn_BookRef.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.Btn_BookRef.Location = new System.Drawing.Point(200, 47);
            this.Btn_BookRef.Name = "Btn_BookRef";
            this.Btn_BookRef.Size = new System.Drawing.Size(18, 20);
            this.Btn_BookRef.TabIndex = 31;
            this.Btn_BookRef.TabStop = false;
            this.Btn_BookRef.Text = "...";
            this.Btn_BookRef.UseVisualStyleBackColor = false;
            this.Btn_BookRef.Visible = false;
            this.Btn_BookRef.Click += new System.EventHandler(this.Btn_Click);
            this.Btn_BookRef.Enter += new System.EventHandler(this.Btn_Enter);
            this.Btn_BookRef.Leave += new System.EventHandler(this.Btn_Enter);
            // 
            // Btn_UserRef
            // 
            this.Btn_UserRef.BackColor = System.Drawing.Color.Aqua;
            this.Btn_UserRef.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.Btn_UserRef.Location = new System.Drawing.Point(200, 69);
            this.Btn_UserRef.Name = "Btn_UserRef";
            this.Btn_UserRef.Size = new System.Drawing.Size(18, 20);
            this.Btn_UserRef.TabIndex = 30;
            this.Btn_UserRef.TabStop = false;
            this.Btn_UserRef.Text = "...";
            this.Btn_UserRef.UseVisualStyleBackColor = false;
            this.Btn_UserRef.Visible = false;
            this.Btn_UserRef.Click += new System.EventHandler(this.Btn_Click);
            this.Btn_UserRef.Enter += new System.EventHandler(this.Btn_Enter);
            this.Btn_UserRef.Leave += new System.EventHandler(this.Btn_Enter);
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(3, 6);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(35, 13);
            this.label6.TabIndex = 12;
            this.label6.Text = "Capo:";
            this.label6.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // UserReference
            // 
            this.UserReference.Location = new System.Drawing.Point(56, 69);
            this.UserReference.Name = "UserReference";
            this.UserReference.Size = new System.Drawing.Size(144, 20);
            this.UserReference.TabIndex = 5;
            this.UserReference.Enter += new System.EventHandler(this.TextBox_Enter);
            this.UserReference.Leave += new System.EventHandler(this.TextBox_Leave);
            // 
            // BookReference
            // 
            this.BookReference.Location = new System.Drawing.Point(56, 47);
            this.BookReference.MaxLength = 100;
            this.BookReference.Name = "BookReference";
            this.BookReference.Size = new System.Drawing.Size(144, 20);
            this.BookReference.TabIndex = 4;
            this.BookReference.Enter += new System.EventHandler(this.TextBox_Enter);
            this.BookReference.Leave += new System.EventHandler(this.TextBox_Leave);
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.Location = new System.Drawing.Point(3, 73);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(52, 13);
            this.label9.TabIndex = 19;
            this.label9.Text = "User Ref:";
            this.label9.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // label10
            // 
            this.label10.AutoSize = true;
            this.label10.Location = new System.Drawing.Point(3, 94);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(48, 13);
            this.label10.TabIndex = 20;
            this.label10.Text = "Admin 1:";
            this.label10.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // LicAdminInfo2
            // 
            this.LicAdminInfo2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.LicAdminInfo2.FormattingEnabled = true;
            this.LicAdminInfo2.Location = new System.Drawing.Point(146, 91);
            this.LicAdminInfo2.MaxDropDownItems = 12;
            this.LicAdminInfo2.Name = "LicAdminInfo2";
            this.LicAdminInfo2.Size = new System.Drawing.Size(72, 21);
            this.LicAdminInfo2.TabIndex = 7;
            // 
            // LicAdminInfo1
            // 
            this.LicAdminInfo1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.LicAdminInfo1.FormattingEnabled = true;
            this.LicAdminInfo1.Location = new System.Drawing.Point(56, 91);
            this.LicAdminInfo1.MaxDropDownItems = 12;
            this.LicAdminInfo1.Name = "LicAdminInfo1";
            this.LicAdminInfo1.Size = new System.Drawing.Size(72, 21);
            this.LicAdminInfo1.TabIndex = 6;
            // 
            // SongTiming
            // 
            this.SongTiming.FormattingEnabled = true;
            this.SongTiming.Location = new System.Drawing.Point(166, 24);
            this.SongTiming.MaxDropDownItems = 13;
            this.SongTiming.Name = "SongTiming";
            this.SongTiming.Size = new System.Drawing.Size(52, 21);
            this.SongTiming.TabIndex = 3;
            // 
            // label13
            // 
            this.label13.AutoSize = true;
            this.label13.Location = new System.Drawing.Point(130, 94);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(16, 13);
            this.label13.TabIndex = 23;
            this.label13.Text = "2:";
            this.label13.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // SongKey
            // 
            this.SongKey.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.SongKey.FormattingEnabled = true;
            this.SongKey.Location = new System.Drawing.Point(166, 2);
            this.SongKey.MaxDropDownItems = 13;
            this.SongKey.Name = "SongKey";
            this.SongKey.Size = new System.Drawing.Size(52, 21);
            this.SongKey.TabIndex = 1;
            // 
            // SongNumber
            // 
            this.SongNumber.Location = new System.Drawing.Point(56, 25);
            this.SongNumber.MaxLength = 10;
            this.SongNumber.Name = "SongNumber";
            this.SongNumber.Size = new System.Drawing.Size(70, 20);
            this.SongNumber.TabIndex = 2;
            // 
            // SongCapo
            // 
            this.SongCapo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.SongCapo.FormattingEnabled = true;
            this.SongCapo.Location = new System.Drawing.Point(56, 2);
            this.SongCapo.MaxDropDownItems = 13;
            this.SongCapo.Name = "SongCapo";
            this.SongCapo.Size = new System.Drawing.Size(70, 21);
            this.SongCapo.TabIndex = 0;
            // 
            // label11
            // 
            this.label11.AutoSize = true;
            this.label11.Location = new System.Drawing.Point(129, 5);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(28, 13);
            this.label11.TabIndex = 21;
            this.label11.Text = "Key:";
            this.label11.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // label12
            // 
            this.label12.AutoSize = true;
            this.label12.Location = new System.Drawing.Point(128, 28);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(41, 13);
            this.label12.TabIndex = 22;
            this.label12.Text = "Timing:";
            this.label12.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(3, 51);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(55, 13);
            this.label8.TabIndex = 18;
            this.label8.Text = "Book Ref:";
            this.label8.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(3, 29);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(55, 13);
            this.label7.TabIndex = 17;
            this.label7.Text = "Song No.:";
            this.label7.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
            // 
            // TimerFast
            // 
            this.TimerFast.Interval = 500;
            this.TimerFast.Tick += new System.EventHandler(this.TimerFast_Tick);
            // 
            // TimerAttemptConnect
            // 
            this.TimerAttemptConnect.Interval = 500;
            this.TimerAttemptConnect.Tick += new System.EventHandler(this.TimerAttemptConnect_Tick);
            // 
            // TimerTrack
            // 
            this.TimerTrack.Interval = 1000;
            this.TimerTrack.Tick += new System.EventHandler(this.TimerTrack_Tick);
            // 
            // FrmInfoScreen
            // 
            this.ClientSize = new System.Drawing.Size(775, 561);
            this.Controls.Add(this.splitContainerMain);
            this.Controls.Add(this.toolStrip1);
            this.Controls.Add(this.statusStrip1);
            this.Controls.Add(this.menuStripMain);
            this.MinimumSize = new System.Drawing.Size(245, 238);
            this.Name = "FrmInfoScreen";
            this.Text = "InfoScreen";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmInfoScreen_FormClosing);
            this.Load += new System.EventHandler(this.FrmInfoScreen_Load);
            this.Resize += new System.EventHandler(this.FrmInfoScreen_Resize);
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.statusStrip1.ResumeLayout(false);
            this.statusStrip1.PerformLayout();
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.ResumeLayout(false);
            this.CMRegion1.ResumeLayout(false);
            this.panelR1Top.ResumeLayout(false);
            this.panelR1Left.ResumeLayout(false);
            this.panel3.ResumeLayout(false);
            this.panelR1LeftBottom.ResumeLayout(false);
            this.panelR1LeftMiddle.ResumeLayout(false);
            this.panelR1LeftTop.ResumeLayout(false);
            this.tabRightPane.ResumeLayout(false);
            this.tabRight_Region2.ResumeLayout(false);
            this.panelR2All.ResumeLayout(false);
            this.CMRegion2.ResumeLayout(false);
            this.panelR2Top.ResumeLayout(false);
            this.panelR2Left.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.panelR2LeftBottom.ResumeLayout(false);
            this.panelR2LeftMiddle.ResumeLayout(false);
            this.panelR2LeftTop.ResumeLayout(false);
            this.tabRight_Rotate.ResumeLayout(false);
            this.panelRotate.ResumeLayout(false);
            this.splitContainerRotate.Panel1.ResumeLayout(false);
            this.splitContainerRotate.Panel2.ResumeLayout(false);
            this.splitContainerRotate.ResumeLayout(false);
            this.groupBoxRotateVerses.ResumeLayout(false);
            this.panelRotate_Verses.ResumeLayout(false);
            this.panel10.ResumeLayout(false);
            this.panel10.PerformLayout();
            this.panelRotate_OrderList.ResumeLayout(false);
            this.panel12.ResumeLayout(false);
            this.panel12.PerformLayout();
            this.panel13.ResumeLayout(false);
            this.toolStripRotate_SeqSet.ResumeLayout(false);
            this.toolStripRotate_SeqSet.PerformLayout();
            this.panel14.ResumeLayout(false);
            this.toolStripRotate_SeqUpDown.ResumeLayout(false);
            this.toolStripRotate_SeqUpDown.PerformLayout();
            this.panelRotate_Sample.ResumeLayout(false);
            this.panelRotate_Sample.PerformLayout();
            this.panelRotate_Media.ResumeLayout(false);
            this.panelNoPlayer.ResumeLayout(false);
            this.panelLoc.ResumeLayout(false);
            this.toolStrip3.ResumeLayout(false);
            this.toolStrip3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.TrackBarVolume)).EndInit();
            this.panelPlayBtns.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.TrackBarDuration)).EndInit();
            this.panelRotateLeft.ResumeLayout(false);
            this.panelRotateLeftTop2.ResumeLayout(false);
            this.panelRotateLeftTop2.PerformLayout();
            this.panelRotateLeftTop1.ResumeLayout(false);
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.Rotate_SlidesGapUpDown)).EndInit();
            this.menuStripMain.ResumeLayout(false);
            this.menuStripMain.PerformLayout();
            this.splitContainerMain.Panel1.ResumeLayout(false);
            this.splitContainerMain.Panel2.ResumeLayout(false);
            this.splitContainerMain.ResumeLayout(false);
            this.groupBox2.ResumeLayout(false);
            this.panelVerses.ResumeLayout(false);
            this.panel2.ResumeLayout(false);
            this.panel2.PerformLayout();
            this.panelOrderList.ResumeLayout(false);
            this.panel4.ResumeLayout(false);
            this.panel4.PerformLayout();
            this.panelSeqSet.ResumeLayout(false);
            this.toolStripSeqSet.ResumeLayout(false);
            this.toolStripSeqSet.PerformLayout();
            this.panelSeqUpDown.ResumeLayout(false);
            this.toolStripSeqUpDown.ResumeLayout(false);
            this.toolStripSeqUpDown.PerformLayout();
            this.groupBox1.ResumeLayout(false);
            this.panel7.ResumeLayout(false);
            this.panel7.PerformLayout();
            this.panelLinkTitle2Lookup.ResumeLayout(false);
            this.toolStrip2.ResumeLayout(false);
            this.toolStrip2.PerformLayout();
            this.panel8.ResumeLayout(false);
            this.panel8.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

		}
		public FrmInfoScreen()
		{
			this.InitializeComponent();
			this.popupHelper = new PopupWindowHelper();
			this.popupHelper.PopupClosed += new PopupClosedEventHandler(this.popupHelper_PopupClosed);
			this.tbLyrics1.Focus();
		}
		protected override void OnHandleCreated(EventArgs e)
		{
			this.popupHelper.AssignHandle(base.Handle);
		}
		private void Btn_Click(object sender, EventArgs e)
		{
			Point p = new Point(0, 0);
			Button button = (Button)sender;
			this.PopupBtnPressed = button.Name;
			string popupBtnPressed = this.PopupBtnPressed;
			if (popupBtnPressed != null)
			{
				if (!(popupBtnPressed == "Btn_Title"))
				{
					if (!(popupBtnPressed == "Btn_Title2"))
					{
						if (!(popupBtnPressed == "Btn_Writer"))
						{
							if (!(popupBtnPressed == "Btn_Copyright"))
							{
								if (!(popupBtnPressed == "Btn_BookRef"))
								{
									if (popupBtnPressed == "Btn_UserRef")
									{
										gf.popUpText = this.UserReference.Text;
										gf.popUpTextMaxLength = this.UserReference.MaxLength;
										p = new Point(this.splitContainerMain.Left + this.groupBox1.Left + this.panel8.Left + this.UserReference.Left, this.splitContainerMain.Top + this.groupBox1.Top + this.panel8.Top + this.UserReference.Top + this.UserReference.Height);
									}
								}
								else
								{
									gf.popUpText = this.BookReference.Text;
									gf.popUpTextMaxLength = this.BookReference.MaxLength;
									p = new Point(this.splitContainerMain.Left + this.groupBox1.Left + this.panel8.Left + this.BookReference.Left, this.splitContainerMain.Top + this.groupBox1.Top + this.panel8.Top + this.BookReference.Top + this.BookReference.Height);
								}
							}
							else
							{
								gf.popUpText = this.CopyrightInfo.Text;
								gf.popUpTextMaxLength = this.CopyrightInfo.MaxLength;
								p = new Point(this.splitContainerMain.Left + this.groupBox1.Left + this.panel7.Left + this.CopyrightInfo.Left, this.splitContainerMain.Top + this.groupBox1.Top + this.panel7.Top + this.CopyrightInfo.Top + this.CopyrightInfo.Height);
							}
						}
						else
						{
							gf.popUpText = this.WriterInfo.Text;
							gf.popUpTextMaxLength = this.WriterInfo.MaxLength;
							p = new Point(this.splitContainerMain.Left + this.groupBox1.Left + this.panel7.Left + this.WriterInfo.Left, this.splitContainerMain.Top + this.groupBox1.Top + this.panel7.Top + this.WriterInfo.Top + this.WriterInfo.Height);
						}
					}
					else
					{
						gf.popUpText = this.SongTitle2.Text;
						gf.popUpTextMaxLength = this.SongTitle2.MaxLength;
						p = new Point(this.splitContainerMain.Left + this.groupBox1.Left + this.panel7.Left + this.SongTitle2.Left, this.splitContainerMain.Top + this.groupBox1.Top + this.panel7.Top + this.SongTitle2.Top + this.SongTitle2.Height);
					}
				}
				else
				{
					gf.popUpText = this.SongTitle.Text;
					gf.popUpTextMaxLength = this.SongTitle.MaxLength;
					p = new Point(this.splitContainerMain.Left + this.groupBox1.Left + this.panel7.Left + this.SongTitle.Left, this.splitContainerMain.Top + this.groupBox1.Top + this.panel7.Top + this.SongTitle.Top + this.SongTitle.Height);
				}
			}
			FrmPopupText popup = new FrmPopupText();
			Point location = base.PointToScreen(p);
			this.popupHelper.ShowPopup(this, popup, location);
		}
		private void popupHelper_PopupClosed(object sender, PopupClosedEventArgs e)
		{
			string popupBtnPressed = this.PopupBtnPressed;
			if (popupBtnPressed != null)
			{
				if (!(popupBtnPressed == "Btn_Title"))
				{
					if (!(popupBtnPressed == "Btn_Title2"))
					{
						if (!(popupBtnPressed == "Btn_Writer"))
						{
							if (!(popupBtnPressed == "Btn_Copyright"))
							{
								if (!(popupBtnPressed == "Btn_BookRef"))
								{
									if (popupBtnPressed == "Btn_UserRef")
									{
										this.UserReference.Text = gf.popUpText;
									}
								}
								else
								{
									this.BookReference.Text = gf.popUpText;
								}
							}
							else
							{
								this.CopyrightInfo.Text = gf.popUpText;
							}
						}
						else
						{
							this.WriterInfo.Text = gf.popUpText;
						}
					}
					else
					{
						this.SongTitle2.Text = gf.popUpText;
					}
				}
				else
				{
					this.SongTitle.Text = gf.popUpText;
				}
			}
		}
		private void FrmInfoScreen_Load(object sender, EventArgs e)
		{
			int num = gf.ObjToInt(gf.GetRegValue("settings", this.Reg_FormLeft, -1));
			int num2 = gf.ObjToInt(gf.GetRegValue("settings", this.Reg_FormTop, -1));
			int num3 = gf.ObjToInt(gf.GetRegValue("settings", this.Reg_FormWidth, 620));
			int num4 = gf.ObjToInt(gf.GetRegValue("settings", this.Reg_FormHeight, 450));
			this.FormState = gf.ObjToInt(gf.GetRegValue("settings", this.Reg_FormMax, 0));
			int num5 = gf.ObjToInt(gf.GetRegValue("settings", this.Reg_FormLyricsSplit, 520));
			int num6 = gf.ObjToInt(gf.GetRegValue("settings", this.Reg_FormRegion2Tab, 0));
			if (num3 > Screen.PrimaryScreen.Bounds.Width)
			{
				num3 = Screen.PrimaryScreen.Bounds.Width - 20;
			}
			if (num4 > Screen.PrimaryScreen.Bounds.Height)
			{
				num4 = Screen.PrimaryScreen.Bounds.Height - 30;
			}
			if (num < 0)
			{
				num = (Screen.PrimaryScreen.Bounds.Width - num3) / 2;
			}
			if (num2 < 0)
			{
				num2 = (Screen.PrimaryScreen.Bounds.Height - num4) / 2;
			}
			if (num2 > 0)
			{
				num2 = num2 * 2 / 3;
			}
			if (num + num3 > Screen.PrimaryScreen.Bounds.Width)
			{
				num = (Screen.PrimaryScreen.Bounds.Width - num3) / 2;
			}
			if (num2 + num4 > Screen.PrimaryScreen.Bounds.Height)
			{
				num2 = (Screen.PrimaryScreen.Bounds.Height - num4) / 2;
			}
			base.Top = num2;
			base.Left = num;
			base.Width = num3;
			base.Height = num4;
			if (this.FormState > 0)
			{
				base.WindowState = FormWindowState.Maximized;
			}
			this.splitContainerMain.SplitterDistance = this.splitContainerMain.Panel1MinSize;
			num5 = ((num5 < 0 || num5 > 1000) ? 520 : num5);
			int num7 = this.splitContainer1.Width * num5 / 1000;
			if (num7 < this.splitContainer1.Panel1MinSize)
			{
				num7 = this.splitContainer1.Panel1MinSize;
			}
			this.splitContainer1.SplitterDistance = num7;
			num6 = ((num6 < 0 || num6 > 1) ? 0 : num6);
			this.tabRightPane.SelectedIndex = num6;
			this.BuildTempItems();
			this.sArray = gf.SymbolsString.Split(new char[]
			{
				','
			});
			this.LyricsVisited = false;
			this.InitMediaPlayer();
			this.BuildFolderList();
			this.ResetAll();
			this.SetWordWrap = (gf.GetRegValue("settings", this.Reg_FormWordWrap, 0) > 0);
			this.SetLyricsWordWrap(this.SetWordWrap);
			this.SetChordsMenu = (gf.GetRegValue("settings", this.Reg_FormSetChordsMenu, 0) > 0);
			this.SetMenuChordsMenu(this.SetChordsMenu);
			gf.InfoMainShowAllButtons = (gf.ObjToInt(gf.GetRegValue("settings", "InfoMainShowAllButtons", 0)) > 0);
			this.ShowAllButtons(gf.InfoMainShowAllButtons);
			gf.BuildFontsList(ref this.ComboFontName);
			gf.BuildFontSizeList(ref this.ComboMainFontSize);
			gf.BuildFontSizeList(ref this.ComboNotationFontSize);
			this.ComboFontName.Text = gf.InfoMainFontName;
			this.ComboMainFontSize.Text = gf.InfoMainFontSize.ToString();
			this.ComboNotationFontSize.Text = gf.InfoNotationFontSize.ToString();
			this.InitFontsLists = false;
			this.ApplyFonts();
			this.EnableFontNameSize(true);
			this.LoadLists();
			this.BuildEditHistoryMenuItems();
			this.EnableEditHistory();
			if (gf.InfoScreenFileName != "")
			{
				this.CurFileName = gf.InfoScreenFileName;
				if (gf.Left(gf.InfoScreenFileName, "*NEW*".Length) == "*NEW*")
				{
					string curFileName = this.CurFileName;
					if (this.NewItem())
					{
						gf.ExtractOneInfo(ref curFileName, '>');
						string inString = gf.ExtractOneInfo(ref curFileName, '>');
						if (gf.StringToInt(inString) < 1)
						{
							inString = "1";
						}
						this.SongFolder.Text = gf.FolderName[gf.StringToInt(inString)];
						this.SongTitle.Text = gf.ExtractOneInfo(ref curFileName, '>');
						this.tbLyrics1.Paste();
					}
				}
				else
				{
					this.LoadInfoScreen(this.CurFileName);
					this.AddToEditHistory("I" + this.CurFileName);
				}
			}
			this.tbLyrics1.DragEnter += new DragEventHandler(this.tbLyrics_DragEnter);
			this.tbLyrics1.DragDrop += new DragEventHandler(this.tbLyrics1_DragDrop);
			this.tbLyrics2.DragEnter += new DragEventHandler(this.tbLyrics_DragEnter);
			this.tbLyrics2.DragDrop += new DragEventHandler(this.tbLyrics2_DragDrop);
			this.TrackBarVolume.Value = ((gf.MediaVolume >= 0 & gf.MediaVolume <= 100) ? gf.MediaVolume : 20);
			this.TimerTrack.Start();
			this.TimerEditRequest.Start();
			base.BeginInvoke(new MethodInvoker(this.focustbLyrics1));
			this.InitLoad = false;
		}
		private void focustbLyrics1()
		{
			this.tbLyrics1.Focus();
		}
		private void BuildFolderList()
		{
			this.SongFolder.Items.Clear();
			for (int i = 1; i < 41; i++)
			{
				if (gf.FolderUse[i] > 0)
				{
					this.SongFolder.Items.Add(gf.FolderName[i]);
				}
			}
			if (this.SongFolder.Items.Count == 0)
			{
				this.SongFolder.Items.Add(gf.FolderName[1]);
			}
			this.SongFolder.Text = this.SongFolder.Items[0].ToString();
		}
		private void BuildEditHistoryMenuItems()
		{
			this.Menu_EditHistoryList.DropDownItems.Clear();
			ToolStripMenuItem toolStripMenuItem = new ToolStripMenuItem();
			for (int i = 0; i < gf.AbsoluteMaxHitoryItems - 1; i++)
			{
				toolStripMenuItem = new ToolStripMenuItem();
				toolStripMenuItem.Name = "Menu_EditHistory" + i.ToString();
				toolStripMenuItem.Text = "";
				this.Menu_EditHistoryList.DropDownItems.Add(toolStripMenuItem);
				this.Menu_EditHistoryList.DropDownItems[i].Tag = i.ToString();
			}
            //EventHandler value = new EventHandler(new EventHandler(this, ldftn(Menu_EditHistory_Click)).Invoke);
			foreach (ToolStripMenuItem toolStripMenuItem2 in this.Menu_EditHistoryList.DropDownItems)
			{
                //toolStripMenuItem2.Click += value;
			}
		}
		private void tbLyrics_DragEnter(object sender, DragEventArgs e)
		{
			string a = this.DragDropItemType(e);
			if (a == DataFormats.FileDrop)
			{
				bool flag = true;
				string[] array = (string[])e.Data.GetData(DataFormats.FileDrop);
				if (array == null)
				{
					flag = false;
				}
				else
				{
					if (gf.Right(array[0], 4).ToLower() != ".doc" & gf.Right(array[0], 4).ToLower() != ".rtf" & gf.Right(array[0], 4).ToLower() != ".txt")
					{
						flag = false;
					}
				}
				e.Effect = (flag ? DragDropEffects.Copy : DragDropEffects.None);
			}
		}
		private string DragDropItemType(DragEventArgs e)
		{
			int num = e.Data.GetFormats().Length - 1;
			string result;
			for (int i = 0; i <= num; i++)
			{
				if (e.Data.GetFormats()[i].Equals(DataFormats.FileDrop))
				{
					result = DataFormats.FileDrop;
					return result;
				}
			}
			result = "";
			return result;
		}
		private void tbLyrics1_DragDrop(object sender, DragEventArgs e)
		{
			if (e.Data.GetDataPresent(DataFormats.FileDrop))
			{
				string[] array = (string[])e.Data.GetData(DataFormats.FileDrop);
				this.GetExternalDocumentContents(array[0], 1);
				e.Effect = DragDropEffects.None;
			}
		}
		private void tbLyrics2_DragDrop(object sender, DragEventArgs e)
		{
			if (e.Data.GetDataPresent(DataFormats.FileDrop))
			{
				string[] array = (string[])e.Data.GetData(DataFormats.FileDrop);
				this.GetExternalDocumentContents(array[0], 2);
				e.Effect = DragDropEffects.None;
			}
		}
		private void R1Btn_Click(object sender, EventArgs e)
		{
			this.InsertingPresetItem = true;
			Button button = (Button)sender;
			gf.InsertIndicator(ref this.tbLyrics1, gf.ObjToInt(button.Tag));
			this.InsertingPresetItem = false;
			this.Lyrics_TextChanged(1);
		}
		private void R2Btn_Click(object sender, EventArgs e)
		{
			this.InsertingPresetItem = true;
			Button button = (Button)sender;
			gf.InsertIndicator(ref this.tbLyrics2, gf.ObjToInt(button.Tag));
			this.InsertingPresetItem = false;
			this.Lyrics_TextChanged(2);
		}
		private void EnableFontNameSize(bool EnableState)
		{
			this.ComboFontName.Enabled = EnableState;
			this.ComboMainFontSize.Enabled = EnableState;
			this.ComboNotationFontSize.Enabled = EnableState;
		}
		private void BuildTempItems()
		{
			this.tempSequenceCopied.Clear();
			this.tempSequenceCopied.Columns.Add("tempSequenceCopied1");
			this.tempSequenceCopied.Columns.Add("tempSequenceCopied2");
			this.ListViewNotations.Columns.Add("ListViewNotations1");
			this.ListViewNotations.Columns.Add("ListViewNotations2");
			this.ListViewNotations.Columns.Add("ListViewNotations3");
			this.ListViewNotations.Columns.Add("ListViewNotations4");
			this.ListViewNotations.Columns.Add("ListViewNotations5");
			this.ListViewNotations.View = View.Details;
			this.ListViewNotationLog.Columns.Add("ListViewNotationLog1");
			this.ListViewNotationLog.Columns.Add("ListViewNotationLog2");
			this.ListViewNotationLog.Columns.Add("ListViewNotationLog3");
			this.ListViewNotationLog.Columns.Add("ListViewNotationLog4");
			this.ListViewNotationLog.Columns.Add("ListViewNotationLog5");
			this.ListViewNotationLog.View = View.Details;
			this.ScreenBreaks1.Columns.Add("ScreenBreak1");
			this.ScreenBreaks1.Columns.Add("ScreenBreak2");
			this.tbWorkspace.WordWrap = false;
			this.tbTempSpace.WordWrap = false;
		}
		private void Menu_New_Click(object sender, EventArgs e)
		{
			this.NewItem();
		}
		private void Menu_Save_Click(object sender, EventArgs e)
		{
			this.SaveBtn_Click(false);
		}
		private void Menu_SaveAs_Click(object sender, EventArgs e)
		{
			this.SaveBtn_Click(true);
		}
		private void Menu_SaveExit_Click(object sender, EventArgs e)
		{
			this.SaveExitBtn_Click(false);
		}
		private void Menu_Import_Click(object sender, EventArgs e)
		{
			this.ExternalDocumentBtnPressed();
		}
		private void Menu_WordWrap_Click(object sender, EventArgs e)
		{
			this.SetLyricsWordWrap(this.Menu_WordWrap.Checked);
		}
		private void SetLyricsWordWrap(bool IsChecked)
		{
			this.SetWordWrap = IsChecked;
			this.Main_WordWrap.Checked = this.SetWordWrap;
			this.Menu_WordWrap.Checked = this.SetWordWrap;
			this.tbLyrics1.WordWrap = this.SetWordWrap;
			this.tbLyrics2.WordWrap = this.SetWordWrap;
		}
		private void Menu_Exit_Click(object sender, EventArgs e)
		{
			this.QuitEditor();
		}
		private void Menu_TransposeDown_Click(object sender, EventArgs e)
		{
			this.BtnChordsClick(-1);
		}
		private void Menu_TransposeUp_Click(object sender, EventArgs e)
		{
			this.BtnChordsClick(1);
		}
		private void Menu_ShowAllButtons_Click(object sender, EventArgs e)
		{
			this.ShowAllButtons(this.Menu_ShowAllButtons.Checked);
		}
		private void Main_New_Click(object sender, EventArgs e)
		{
			this.NewItem();
		}
		private void Main_Save_Click(object sender, EventArgs e)
		{
			this.SaveBtn_Click(false);
		}
		private void Main_SaveExit_Click(object sender, EventArgs e)
		{
			this.SaveExitBtn_Click(false);
		}
		private void Main_Import_Click(object sender, EventArgs e)
		{
			this.ExternalDocumentBtnPressed();
		}
		private void Main_WordWrap_Click(object sender, EventArgs e)
		{
			this.SetLyricsWordWrap(this.Main_WordWrap.Checked);
		}
		private void Main_TransposeDown_Click(object sender, EventArgs e)
		{
			this.BtnChordsClick(-1);
		}
		private void Main_TransposeUp_Click(object sender, EventArgs e)
		{
			this.BtnChordsClick(1);
		}
		private void LoadLists()
		{
			this.SongCapo.Items.Clear();
			this.SongCapo.Items.Add("");
			this.SongCapo.Items.Add("Capo 0");
			this.SongCapo.Items.Add("Capo 1");
			this.SongCapo.Items.Add("Capo 2");
			this.SongCapo.Items.Add("Capo 3");
			this.SongCapo.Items.Add("Capo 4");
			this.SongCapo.Items.Add("Capo 5");
			this.SongCapo.Items.Add("Capo 6");
			this.SongCapo.Items.Add("Capo 7");
			this.SongCapo.Items.Add("Capo 8");
			this.SongCapo.Items.Add("Capo 9");
			this.SongCapo.Items.Add("Capo 10");
			this.SongCapo.Items.Add("Capo 11");
			this.SongKey.Items.Clear();
			this.SongKey.Items.Add("");
			this.SongKey.Items.Add("A");
			this.SongKey.Items.Add("B");
			this.SongKey.Items.Add("C");
			this.SongKey.Items.Add("D");
			this.SongKey.Items.Add("E");
			this.SongKey.Items.Add("F");
			this.SongKey.Items.Add("G");
			this.SongKey.Items.Add("Am");
			this.SongKey.Items.Add("Bm");
			this.SongKey.Items.Add("Cm");
			this.SongKey.Items.Add("Dm");
			this.SongKey.Items.Add("Em");
			this.SongKey.Items.Add("Fm");
			this.SongKey.Items.Add("Gm");
			this.SongKey.Items.Add("Ab");
			this.SongKey.Items.Add("Bb");
			this.SongKey.Items.Add("Db");
			this.SongKey.Items.Add("Eb");
			this.SongKey.Items.Add("Gb");
			this.SongKey.Items.Add("Abm");
			this.SongKey.Items.Add("Bbm");
			this.SongKey.Items.Add("Dbm");
			this.SongKey.Items.Add("Ebm");
			this.SongKey.Items.Add("Gbm");
			this.SongKey.Items.Add("F#");
			this.SongKey.Items.Add("F#m");
			this.SongTiming.Items.Clear();
			this.SongTiming.Items.Add("");
			this.SongTiming.Items.Add("3/4");
			this.SongTiming.Items.Add("4/4");
			this.LicAdminInfo1.Items.Clear();
			this.LicAdminInfo1.Items.Add("");
			this.LicAdminInfo1.Items.Add(gf.LicAdmin_List[2, 0]);
			this.LicAdminInfo1.Items.Add(gf.LicAdmin_List[3, 0]);
			this.LicAdminInfo2.Items.Clear();
			this.LicAdminInfo2.Items.Add("");
			this.LicAdminInfo2.Items.Add(gf.LicAdmin_List[2, 0]);
			this.LicAdminInfo2.Items.Add(gf.LicAdmin_List[3, 0]);
			if (gf.LicAdmin_List[4, 0] != "")
			{
				this.LicAdminInfo1.Items.Add(gf.LicAdmin_List[4, 0]);
				this.LicAdminInfo2.Items.Add(gf.LicAdmin_List[4, 0]);
			}
			if (gf.LicAdmin_List[5, 0] != "")
			{
				this.LicAdminInfo1.Items.Add(gf.LicAdmin_List[5, 0]);
				this.LicAdminInfo2.Items.Add(gf.LicAdmin_List[5, 0]);
			}
			if (gf.LicAdmin_List[6, 0] != "")
			{
				this.LicAdminInfo1.Items.Add(gf.LicAdmin_List[6, 0]);
				this.LicAdminInfo2.Items.Add(gf.LicAdmin_List[6, 0]);
			}
		}
		private void ResetAll()
		{
			gf.InitialiseIndividualData(ref gf.InfoItem1);
			gf.InitialiseIndividualData(ref gf.InfoItem2);
			this.ThisItemFileName = "";
			this.CurFileName = "";
			this.SongTitle.Text = "";
			this.SongTitle2.Text = "";
			this.InitSongTitle2 = "";
			this.WriterInfo.Text = "";
			this.BookReference.Text = "";
			this.UserReference.Text = "";
			this.CopyrightInfo.Text = "";
			this.LicAdminInfo1.Text = "";
			this.LicAdminInfo2.Text = "";
			this.tbLyrics1.Text = "";
			this.tbLyrics2.Text = "";
			this.SongCapo.Text = "";
			this.SongKey.Text = "";
			this.SongTiming.Text = "";
			this.Lyrics1SavedNotations = "";
			this.Lyrics2SavedNotations = "";
			this.CombinedLyrics = "";
			this.CombinedNotations = "";
			this.VersesList.Items.Clear();
			this.OrderList.Items.Clear();
			this.Rotate_VersesList.Items.Clear();
			this.Rotate_OrderList.Items.Clear();
			this.Rotate_TimeTotal.MinDate = this.InitDateTime;
			this.Rotate_TimeTotal.Value = this.InitDateTime;
			this.CurMediaLength = 0.0;
			this.LabelDuration.Text = "00:00";
			if (this.PlayerOK)
			{
				this.DShowPlayer.newFilename = "";
			}
			this.OrderListSequence = "";
			this.LinkTitle2Pic.Visible = false;
			this.Title2IgnoreChange = false;
			for (int i = 0; i < 160; i++)
			{
				this.prevVersePresent[i] = false;
				this.VersePresent[i] = false;
			}
			this.tempSequenceCopied.Items.Clear();
			this.RotateString = "";
			this.Rotate_tbSourceLocation.Text = "";
			if (!this.Rotate_Equal.Checked)
			{
				this.Rotate_Equal.Checked = true;
			}
			else
			{
				this.MediaOption_Changed();
			}
			this.UpdateRotateTimePositions(1, 0, 0, "", true, true);
			this.UpdateSavedStrings();
			this.ClearStack(0);
			this.toolStripStatusLabel1.Text = "";
		}
		private void UpdateSavedStrings()
		{
			this.Lyrics1SavedCopy = this.tbLyrics1.Text;
			this.Lyrics2SavedCopy = this.tbLyrics2.Text;
			this.SavedFileName = this.ThisItemFileName;
			this.SavedTitle = this.SongTitle.Text;
			this.SavedTitle2 = this.SongTitle2.Text;
			this.SavedSongNumber = this.SongNumber.Text;
			this.SavedBookReference = this.BookReference.Text;
			this.SavedUserReference = this.UserReference.Text;
			this.SavedWriterInfo = this.WriterInfo.Text;
			this.SavedCopyrightInfo = this.CopyrightInfo.Text;
			this.SavedLicAdminInfo1 = this.LicAdminInfo1.Text;
			this.SavedLicAdminInfo2 = this.LicAdminInfo2.Text;
			this.SavedCapo = this.SongCapo.Text;
			this.SavedSongKey = this.SongKey.Text;
			this.SavedSongTiming = this.SongTiming.Text;
			this.SavedFolder = gf.GetFolderNumber(this.SongFolder.Items[this.SongFolder.SelectedIndex].ToString()).ToString();
			this.SavedSequence = this.OrderListSequence;
			this.SavedRotateString = this.GenerateRotateString();
		}
		private void rtfMain_Change(int Region)
		{
			if (!this.IgnoreChange)
			{
				this.StackIndex[Region]++;
				if (this.StackIndex[Region] == this.StackStartPoint[Region] & this.StackStartPoint[Region] > 0)
				{
					this.StackStartPoint[Region]++;
				}
				if (this.StackStartPoint[Region] > this.StackArrayMaxPoint)
				{
					this.StackStartPoint[Region] = 1;
				}
				if (this.StackIndex[Region] > this.StackArrayMaxPoint)
				{
					this.StackIndex[Region] = 0;
					this.StackStartPoint[Region] = 1;
				}
				this.StackMaxRedo[Region] = this.StackIndex[Region];
				this.iCursorPosition[Region, this.StackIndex[Region]] = ((Region == 1) ? this.tbLyrics1.SelectionStart : this.tbLyrics2.SelectionStart);
				this.sStack[Region, this.StackIndex[Region]] = ((Region == 1) ? this.tbLyrics1.Rtf : this.tbLyrics2.Rtf);
			}
		}
		private void ApplyFonts()
		{
			if (!this.InitFontsLists)
			{
				gf.InfoMainFontSize = Convert.ToInt32(this.ComboMainFontSize.Text);
				if (gf.InfoMainFontSize < 6 | gf.InfoMainFontSize > 20)
				{
					gf.InfoMainFontSize = 12;
				}
				gf.InfoNotationFontSize = Convert.ToInt32(this.ComboNotationFontSize.Text);
				if (gf.InfoNotationFontSize < 6 | gf.InfoNotationFontSize > 20)
				{
					gf.InfoNotationFontSize = 10;
				}
				this.MainFont = gf.GetNewFont(this.ComboFontName.Text, gf.InfoMainFontSize, false, false, false, false);
				gf.InfoMainFontName = this.MainFont.Name;
				this.tbLyrics1.Font = this.MainFont;
				this.tbLyrics2.Font = this.MainFont;
				this.tbWorkspace.Font = this.MainFont;
				this.tbTempSpace.Font = this.MainFont;
				this.NotationFont = gf.GetNewFont(gf.InfoMainFontName, gf.InfoNotationFontSize, false, false, false, false);
				gf.SaveRegValue("options", "EditMainFontName", gf.InfoMainFontName);
				gf.SaveRegValue("options", "EditMainFontSize", gf.InfoMainFontSize);
				gf.SaveRegValue("options", "EditNotationFontSize", gf.InfoNotationFontSize);
			}
		}
		private void ExternalDocumentBtnPressed()
		{
			this.OpenFileDialog1.Filter = "Word Documents and Text Files (*.doc;*.txt) | *.doc;*.txt|Word Documents (*.doc)|*.doc|Text Files (*.txt)|*.txt";
			this.OpenFileDialog1.InitialDirectory = gf.EditOpenDocumentDir;
			this.OpenFileDialog1.FileName = "";
			if (this.OpenFileDialog1.ShowDialog() == DialogResult.OK)
			{
				gf.EditOpenDocumentDir = Path.GetDirectoryName(this.OpenFileDialog1.FileName);
				gf.SaveRegValue("options", "EditOpenDocumentDir", gf.EditOpenDocumentDir);
				string fileName = this.OpenFileDialog1.FileName;
				this.GetExternalDocumentContents(fileName, 3);
			}
		}
		private void GetExternalDocumentContents(string InFileName, int RegNum)
		{
			this.Cursor = Cursors.WaitCursor;
			string text = "";
			string text2 = "";
			string inLyrics = "";
			string a = "";
			bool flag = false;
			if (gf.Right(InFileName, 4) == ".doc")
			{
				inLyrics = gf.GetOfficeDocContents(InFileName);
				flag = true;
			}
			else
			{
				if (gf.Right(InFileName, 4) == ".txt")
				{
					inLyrics = gf.LoadTextFile(InFileName, true);
					flag = true;
				}
			}
			if (flag)
			{
				gf.ExtractLyrics(inLyrics, "", ref text, ref this.Lyrics1SavedNotations, ref text2, ref this.Lyrics2SavedNotations);
				string text3 = "";
				string text4;
				if (RegNum == 1 || RegNum == 3)
				{
					a = gf.GetDisplayNameOnly(ref InFileName, false);
					text3 = text;
					text4 = text2;
				}
				else
				{
					if (text2 != "")
					{
						text3 = text;
						text4 = text2;
					}
					else
					{
						text4 = text;
					}
				}
				if (RegNum == 3 || (this.tbLyrics1.Text != "" && text3 != "") || (this.tbLyrics2.Text != "" && text4 != ""))
				{
					if (!this.NewItem())
					{
						this.Cursor = Cursors.Default;
						return;
					}
					this.SongTitle.Text = gf.GetDisplayNameOnly(ref InFileName, false);
				}
				if (a != "")
				{
					this.SongTitle.Text = gf.GetDisplayNameOnly(ref InFileName, false);
				}
				if (text3 != "")
				{
					this.tbLyrics1.Text = gf.CombineLyricsAndNotations(text3, this.Lyrics1SavedNotations, this.MainFont, this.NotationFont, ref this.tbWorkspace, ref this.tbTempSpace);
				}
				if (text4 != "")
				{
					this.tbLyrics2.Text = gf.CombineLyricsAndNotations(text4, this.Lyrics2SavedNotations, this.MainFont, this.NotationFont, ref this.tbWorkspace, ref this.tbTempSpace);
				}
			}
			this.Cursor = Cursors.Default;
		}
		private void SwitchChinese(int Region)
		{
			switch (Region)
			{
			case 1:
			{
				int selectedType = gf.SwitchChinese(ref this.tbLyrics1);
				string text = this.SongTitle.Text;
				gf.SwitchChinese(ref text, selectedType);
				this.SongTitle.Text = text;
				text = this.SongTitle2.Text;
				gf.SwitchChinese(ref text, selectedType);
				this.SongTitle2.Text = text;
				text = this.WriterInfo.Text;
				gf.SwitchChinese(ref text, selectedType);
				this.WriterInfo.Text = text;
				text = this.CopyrightInfo.Text;
				gf.SwitchChinese(ref text, selectedType);
				this.CopyrightInfo.Text = text;
				break;
			}
			case 2:
				gf.SwitchChinese(ref this.tbLyrics2);
				break;
			}
		}
		private void BtnChordsClick(int TransposeStep)
		{
			int flatSharpKey = -1;
			if (this.SongKey.Text != "")
			{
				string text = this.SongKey.Text;
				flatSharpKey = gf.TransposeKey(ref text, TransposeStep);
				this.SongKey.Text = text;
			}
			if (this.SongCapo.Text != "")
			{
				int num = this.SongCapo.SelectedIndex;
				num -= TransposeStep;
				if (num > 12)
				{
					num = (num - 1) % 12 + 1;
				}
				else
				{
					if (num < 1)
					{
						num = 13 - (num + 1);
					}
				}
				this.SongCapo.SelectedIndex = num;
			}
			this.IgnoreChange = true;
			this.BtnChordsClick(TransposeStep, ref this.tbLyrics1, ref this.Lyrics1SavedNotations, ref this.Lyrics1Only, flatSharpKey);
			this.BtnChordsClick(TransposeStep, ref this.tbLyrics2, ref this.Lyrics2SavedNotations, ref this.Lyrics2Only, flatSharpKey);
			gf.ScanSelectedRTB(ref this.tbLyrics1, this.VersePresent, true, 0, 0, this.sArray, this.MainFont, this.NotationFont, true);
			gf.ScanSelectedRTB(ref this.tbLyrics2, this.VersePresent, true, 0, 0, this.sArray, this.MainFont, this.NotationFont, true);
			this.IgnoreChange = false;
		}
		private void BtnChordsClick(int TransposeStep, ref RichTextBox InTextBox, ref string SavedNotations, ref string LyricsOnly, int FlatSharpKey)
		{
			this.ValidateMusicNotations(ref InTextBox, ref SavedNotations, ref LyricsOnly);
			string text = SavedNotations;
			string text2 = "";
			string text3 = "";
			for (int i = 0; i < text.Length; i++)
			{
				string text4 = gf.Mid(text, i, 1);
				if (text4 == "(" | text4 == ")")
				{
					text2 += text4;
				}
				else
				{
					if (text4 == ';'.ToString())
					{
						text3 = gf.TransposeChord(text3, TransposeStep, FlatSharpKey);
						text2 = text2 + text3 + text4;
						text3 = "";
					}
					else
					{
						text3 += text4;
					}
				}
			}
			InTextBox.Text = gf.CombineLyricsAndNotations(LyricsOnly, text2, this.MainFont, this.NotationFont, ref this.tbWorkspace, ref this.tbTempSpace);
		}
		private bool ValidateMusicNotations(ref RichTextBox InTextBox, ref string InSavedNotations, ref string InLyricsOnly)
		{
			InSavedNotations = "";
			InLyricsOnly = InTextBox.Text;
			bool result;
			if (InTextBox.Text.IndexOf("»") < 0)
			{
				result = true;
			}
			else
			{
				int num = gf.CountLf(InTextBox.Text);
				if (num < 1)
				{
					result = true;
				}
				else
				{
					ListViewItem listViewItem = new ListViewItem();
					this.BuildListofNotationLines(ref InTextBox, ref this.ListViewNotations, ref InLyricsOnly, num);
					int num2 = num - 1;
					bool flag = false;
					for (int i = num - 1; i >= 0; i--)
					{
						if (this.ListViewNotations.Items[i].SubItems[1].Text == "" & i > 0)
						{
							if (this.ListViewNotations.Items[i - 1].SubItems[1].Text == "»")
							{
								this.ListViewNotations.Items[i].SubItems[2].Text = Convert.ToString(i - 1);
							}
							else
							{
								flag = true;
							}
						}
						else
						{
							flag = true;
						}
						if (flag)
						{
							this.ListViewNotations.Items[i].Remove();
						}
						flag = false;
					}
					int musicCurPosMin = 0;
					int musicCurPosMax = 0;
					int lyricsCurPosMin = 0;
					int lyricsCurPosMax = 0;
					int num3 = 0;
					string text = "";
					Point point = new Point(0, 0);
					InSavedNotations = "";
					for (int i = 0; i <= this.ListViewNotations.Items.Count - 1; i++)
					{
						this.ListViewNotationLog.Items.Clear();
						gf.GetMinMaxfromTextBox(InTextBox, Convert.ToInt32(this.ListViewNotations.Items[i].SubItems[2].Text), ref musicCurPosMin, ref musicCurPosMax);
						gf.GetMinMaxfromTextBox(InTextBox, Convert.ToInt32(this.ListViewNotations.Items[i].Text), ref lyricsCurPosMin, ref lyricsCurPosMax);
						int value = Convert.ToInt32(this.ListViewNotations.Items[i].SubItems[2].Text) - i;
						num3 = 0;
						while (this.FindNextNotation(InTextBox, ref num3, ref text, ref point, musicCurPosMin, musicCurPosMax))
						{
							int associatedLyricsLineCurPos = this.GetAssociatedLyricsLineCurPos(ref InTextBox, point.X, lyricsCurPosMin, lyricsCurPosMax);
							listViewItem = this.ListViewNotationLog.Items.Add(text);
							listViewItem.SubItems.Add(Convert.ToString(associatedLyricsLineCurPos));
						}
						object obj = InSavedNotations;
						InSavedNotations = string.Concat(new object[]
						{
							obj,
							"(",
							Convert.ToString(value),
							';'
						});
						for (int j = 0; j <= this.ListViewNotationLog.Items.Count - 1; j++)
						{
							obj = InSavedNotations;
							InSavedNotations = string.Concat(new object[]
							{
								obj,
								this.ListViewNotationLog.Items[j].Text,
								';',
								this.ListViewNotationLog.Items[j].SubItems[1].Text,
								';'
							});
						}
						InSavedNotations += ")";
					}
					result = true;
				}
			}
			return result;
		}
		public void BuildListofNotationLines(ref RichTextBox InTextBox, ref ListView StoreNotationsList, ref string InLyricsOnly, int TotalLines)
		{
			ListViewItem listViewItem = new ListViewItem();
			int num = 0;
			int num2 = 0;
			InLyricsOnly = "";
			StoreNotationsList.Items.Clear();
			for (int i = 0; i <= TotalLines - 1; i++)
			{
				string text = InTextBox.Lines[i];
				bool flag = text.IndexOf("»") >= 0;
				if (flag)
				{
					if (i < TotalLines - 1)
					{
						if (InTextBox.Lines[i + 1].IndexOf("»") >= 0)
						{
							flag = false;
						}
						else
						{
							if (gf.TrimEnd(InTextBox.Lines[i + 1]) == "")
							{
								flag = false;
							}
						}
					}
					else
					{
						flag = false;
					}
				}
				listViewItem = StoreNotationsList.Items.Add(Convert.ToString(i));
				if (flag)
				{
					listViewItem.SubItems.Add("»");
					listViewItem.SubItems.Add("");
				}
				else
				{
					listViewItem.SubItems.Add("");
					listViewItem.SubItems.Add("");
					gf.GetMinMaxfromTextBox(InTextBox, Convert.ToInt32(i), ref num, ref num2);
					text = gf.Mid(InTextBox.Text, num, num2 - num + 1);
					InLyricsOnly = InLyricsOnly + text + ((i < TotalLines - 1) ? "\n" : "");
				}
			}
			InLyricsOnly = InLyricsOnly.Replace(" »", "");
			InLyricsOnly = InLyricsOnly.Replace(" »", "");
			InLyricsOnly = InLyricsOnly.Replace("»", "");
		}
		public void oldGetMinMaxfromTextBox(RichTextBox InBox, int InLineNumber, ref int InMin, ref int InMax)
		{
			string text = InBox.Text + "\n";
			InMax = -1;
			for (int i = 0; i <= InLineNumber; i++)
			{
				InMin = InMax + 1;
				InMax = text.IndexOf("\n", InMin);
				if (InMax < 0)
				{
					i = InLineNumber;
				}
			}
			InMax--;
		}
		public bool FindNextNotation(RichTextBox IntextBox, ref int StartMusicCurPos, ref string MusicNotationName, ref Point MusicNotationCoOrd, int MusicCurPosMin, int MusicCurPosMax)
		{
			bool flag = false;
			IntextBox.SelectionLength = 0;
			MusicNotationName = "";
			bool result;
			if (StartMusicCurPos > MusicCurPosMax - MusicCurPosMin + 1)
			{
				result = false;
			}
			else
			{
				for (int i = StartMusicCurPos; i <= MusicCurPosMax - MusicCurPosMin + 1; i++)
				{
					string text = gf.Mid(IntextBox.Text, MusicCurPosMin + i, 1);
					if (text != " " & text != "»")
					{
						if (!flag)
						{
							flag = true;
							int num = MusicCurPosMin + i;
							IntextBox.SelectionStart = num;
							MusicNotationCoOrd = IntextBox.GetPositionFromCharIndex(num);
							int x = MusicNotationCoOrd.X;
							text = text;
						}
						MusicNotationName += text;
					}
					else
					{
						if (flag)
						{
							StartMusicCurPos = i;
							result = true;
							return result;
						}
					}
				}
				result = false;
			}
			return result;
		}
		public int GetAssociatedLyricsLineCurPos(ref RichTextBox IntextBox, int MusicNotationCoOrdX, int LyricsCurPosMin, int LyricsCurPosMax)
		{
			int num = 0;
			int i;
			int result;
			for (i = num; i <= LyricsCurPosMax - LyricsCurPosMin + 1; i++)
			{
				if (IntextBox.GetPositionFromCharIndex(i + LyricsCurPosMin).X > MusicNotationCoOrdX)
				{
					result = num;
					return result;
				}
				num = i;
			}
			result = i - 1;
			return result;
		}
		private string OldCombineLyricsAndNotations(string InLyrics, string InNotations)
		{
			string result;
			if (InNotations == "" | InLyrics == "")
			{
				result = InLyrics;
			}
			else
			{
				StringBuilder stringBuilder = new StringBuilder();
				this.tbWorkspace.Text = InLyrics;
				gf.MarkSelectedRTB(ref this.tbWorkspace, 0, this.tbWorkspace.Text.Length, 0, this.MainFont, this.NotationFont);
				int num = gf.CountLf(this.tbWorkspace.Text);
				int lyricsCurPosMin = 0;
				int lyricsCurPosMax = 0;
				string text = "";
				int num2 = gf.ListNotationData(InNotations, ref gf.NotationsArray, num);
				for (int i = 0; i < num; i++)
				{
					if (num2 > 0)
					{
						if (gf.NotationsArray[i] != "")
						{
							gf.GetMinMaxfromTextBox(this.tbWorkspace, i, ref lyricsCurPosMin, ref lyricsCurPosMax);
							this.tbTempSpace.Text = "";
							string text2 = "";
							while (gf.NotationsArray[i].Length > 0)
							{
								text = gf.NotationsArray[i];
								string text3 = gf.ExtractOneInfo(ref text, ';');
								int inCurPos = Convert.ToInt32(gf.ExtractOneInfo(ref text, ';'));
								gf.NotationsArray[i] = text;
								int associatedLyricsLineCurPosX = gf.GetAssociatedLyricsLineCurPosX(ref this.tbWorkspace, inCurPos, lyricsCurPosMin, lyricsCurPosMax);
								while (gf.GetAssociatedLyricsLineCurPosX(ref this.tbTempSpace, this.tbTempSpace.Text.Length - 1) < associatedLyricsLineCurPosX - 1)
								{
									text2 += " ";
									this.tbTempSpace.Text = text2;
									gf.MarkSelectedRTB(ref this.tbTempSpace, 0, this.tbTempSpace.Text.Length, 2, this.MainFont, this.NotationFont);
								}
								text2 += ((text2.Length > 1 & gf.Right(text2, 1) != " ") ? (" " + text3) : text3);
								this.tbTempSpace.Text = text2;
								gf.MarkSelectedRTB(ref this.tbTempSpace, 0, this.tbTempSpace.Text.Length, 2, this.MainFont, this.NotationFont);
							}
							stringBuilder.Append(this.tbTempSpace.Text + " »\n");
						}
					}
					stringBuilder.Append(this.tbWorkspace.Lines[i] + "\n");
				}
				if (gf.Right(stringBuilder.ToString(), 1) == "\n")
				{
					result = gf.Left(stringBuilder.ToString(), stringBuilder.Length - 1);
				}
				else
				{
					result = stringBuilder.ToString();
				}
			}
			return result;
		}
		private void EnableEditHistory()
		{
			gf.LoadRegistryEditorEditHistory();
			this.UpdateMenu_EditHistory();
		}
		private void AddToEditHistory(string InItemID)
		{
			if (!(gf.GetItemTitle(InItemID) == "" | gf.InfoScreenEditHistoryList[1, 0] == InItemID))
			{
				if (gf.TotalInfoScreenEditHistory < gf.MaxUserEditHistory)
				{
					gf.TotalInfoScreenEditHistory++;
				}
				else
				{
					gf.TotalInfoScreenEditHistory = gf.MaxUserEditHistory;
				}
				for (int i = gf.TotalInfoScreenEditHistory; i >= 2; i--)
				{
					gf.InfoScreenEditHistoryList[i, 0] = gf.InfoScreenEditHistoryList[i - 1, 0];
				}
				gf.InfoScreenEditHistoryList[1, 0] = InItemID;
				gf.RemoveDuplicateEditorHistoryItems(ref gf.InfoScreenEditHistoryList, ref gf.TotalInfoScreenEditHistory);
				this.UpdateMenu_EditHistory();
				gf.SaveEditorEditHistoryToRegistry();
			}
		}
		private void UpdateMenu_EditHistory()
		{
			try
			{
				int num = 0;
				if (gf.TotalInfoScreenEditHistory < 0 | gf.TotalInfoScreenEditHistory > gf.AbsoluteMaxHitoryItems)
				{
					gf.TotalInfoScreenEditHistory = gf.AbsoluteMaxHitoryItems;
				}
				for (int i = 1; i <= gf.TotalInfoScreenEditHistory; i++)
				{
					string itemTitle = gf.GetItemTitle(gf.InfoScreenEditHistoryList[i, 0]);
					if (itemTitle != "")
					{
						if (gf.InfoScreenEditHistoryList[num, 0] != gf.InfoScreenEditHistoryList[i, 0])
						{
							num++;
							gf.InfoScreenEditHistoryList[num, 0] = gf.InfoScreenEditHistoryList[i, 0];
							gf.InfoScreenEditHistoryList[num, 1] = itemTitle;
						}
					}
				}
				gf.TotalInfoScreenEditHistory = num;
				for (int i = gf.TotalInfoScreenEditHistory + 1; i <= gf.AbsoluteMaxHitoryItems; i++)
				{
					gf.InfoScreenEditHistoryList[i, 0] = "";
					gf.InfoScreenEditHistoryList[i, 1] = "";
				}
				for (int i = 1; i <= gf.AbsoluteMaxHitoryItems; i++)
				{
					this.Menu_EditHistoryList.DropDownItems[i - 1].Text = i.ToString() + " " + gf.InfoScreenEditHistoryList[i, 1];
					this.Menu_EditHistoryList.DropDownItems[i - 1].Visible = (i <= gf.TotalInfoScreenEditHistory);
				}
			}
			catch
			{
			}
		}
		private bool NewItem()
		{
			this.ClearErrorMessage(0);
			bool result;
			if (this.ActionBeforeNextEvent() == DialogResult.Cancel)
			{
				result = false;
			}
			else
			{
				this.ResetAll();
				gf.InfoScreenFileName = "";
				result = true;
			}
			return result;
		}
		private void QuitEditor()
		{
			this.ClearErrorMessage(0);
			this.Save_FormPos_To_Registry();
			if (this.ActionBeforeNextEvent() != DialogResult.Cancel)
			{
				this.FormCanClose = true;
				base.Close();
			}
		}
		private void ShowMessage(int Region, string MsgText)
		{
			if (Region == 0 | Region == 1)
			{
				this.LabeltbLyrics.Font = new Font(this.LabeltbLyrics.Font, FontStyle.Bold);
				this.LabeltbLyrics.BackColor = Color.Yellow;
				this.LabeltbLyrics.Text = MsgText;
			}
			if (Region == 0 | Region == 2)
			{
				this.LabeltbLyrics2.Font = new Font(this.LabeltbLyrics2.Font, FontStyle.Bold);
				this.LabeltbLyrics2.BackColor = Color.Yellow;
				this.LabeltbLyrics2.Text = MsgText;
			}
		}
		private void ClearErrorMessage(int Region)
		{
			if (Region == 0 | Region == 1)
			{
				this.LabeltbLyrics.Font = new Font(this.LabeltbLyrics.Font, FontStyle.Regular);
				this.LabeltbLyrics.BackColor = this.label2.BackColor;
				this.LabeltbLyrics.Text = "Region 1" + (this.SetRightToLeft1 ? " : Right-To-Left Text On" : "");
				this.ScreenBreak1Available = false;
			}
			if (Region == 0 | Region == 2)
			{
				this.LabeltbLyrics2.Font = new Font(this.LabeltbLyrics2.Font, FontStyle.Regular);
				this.LabeltbLyrics2.BackColor = this.label2.BackColor;
				this.LabeltbLyrics2.Text = "Region 2" + (this.SetRightToLeft2 ? " : Right-To-Left Text On" : "");
				this.ScreenBreak2Available = false;
			}
		}
		private void Save_FormPos_To_Registry()
		{
			if (base.WindowState == FormWindowState.Maximized)
			{
				gf.SaveRegValue("settings", this.Reg_FormMax, 1);
				gf.SaveRegValue("settings", this.Reg_FormWordWrap, this.tbLyrics1.WordWrap ? 1 : 0);
				gf.SaveRegValue("settings", this.Reg_FormSetChordsMenu, this.SetChordsMenu ? 1 : 0);
				gf.SaveRegValue("settings", this.Reg_FormRegion2Tab, this.tabRightPane.SelectedIndex);
			}
			else
			{
				if (base.WindowState != FormWindowState.Maximized)
				{
					gf.SaveRegValue("settings", this.Reg_FormMax, 0);
					gf.SaveRegValue("settings", this.Reg_FormLeft, base.Left);
					gf.SaveRegValue("settings", this.Reg_FormTop, base.Top);
					gf.SaveRegValue("settings", this.Reg_FormWidth, base.Width);
					gf.SaveRegValue("settings", this.Reg_FormHeight, base.Height);
					gf.SaveRegValue("settings", this.Reg_FormWordWrap, this.tbLyrics1.WordWrap ? 1 : 0);
					gf.SaveRegValue("settings", this.Reg_FormSetChordsMenu, this.SetChordsMenu ? 1 : 0);
					gf.SaveRegValue("settings", this.Reg_FormLyricsSplit, this.splitContainer1.SplitterDistance * 1000 / this.splitContainer1.Width);
					gf.SaveRegValue("settings", this.Reg_FormRegion2Tab, this.tabRightPane.SelectedIndex);
				}
			}
		}
		private DialogResult ActionBeforeNextEvent()
		{
			DialogResult result;
			if (!this.ChangesMade())
			{
				result = DialogResult.Yes;
			}
			else
			{
				string text = "Do you wish to save the current InfoScreen?";
				switch (MessageBox.Show(text, "", MessageBoxButtons.YesNoCancel))
				{
				case DialogResult.Yes:
					this.SaveBtn_Click(false);
					if (!this.ChangesMade())
					{
						result = DialogResult.Yes;
					}
					else
					{
						result = DialogResult.Cancel;
					}
					break;
				case DialogResult.No:
					result = DialogResult.No;
					break;
				default:
					result = DialogResult.Cancel;
					break;
				}
			}
			return result;
		}
		private bool ChangesMade()
		{
			return this.tbLyrics1.Text != this.Lyrics1SavedCopy || this.tbLyrics2.Text != this.Lyrics2SavedCopy || this.ThisItemFileName != this.SavedFileName || this.SongTitle.Text != this.SavedTitle || this.SongTitle2.Text != this.SavedTitle2 || this.SongNumber.Text != this.SavedSongNumber || this.BookReference.Text != this.SavedBookReference || this.UserReference.Text != this.SavedUserReference || this.WriterInfo.Text != this.SavedWriterInfo || this.CopyrightInfo.Text != this.SavedCopyrightInfo || this.LicAdminInfo1.Text != this.SavedLicAdminInfo1 || this.LicAdminInfo2.Text != this.SavedLicAdminInfo2 || this.SongKey.Text != this.SavedSongKey || this.SongTiming.Text != this.SavedSongTiming || this.SongCapo.Text != this.SavedCapo || this.GenerateRotateString() != this.SavedRotateString || gf.GetFolderNumber(this.SongFolder.Items[this.SongFolder.SelectedIndex].ToString()) != gf.StringToInt(this.SavedFolder) || this.OrderListSequence != this.SavedSequence;
		}
		private bool SaveBtn_Click(bool UseDialog)
		{
			this.ClearErrorMessage(0);
			this.Cursor = Cursors.WaitCursor;
			bool result;
			if (this.ValidateAllDetails())
			{
				if (this.SaveDataToFile(UseDialog))
				{
					this.UpdateSavedStrings();
					gf.InfoScreenItemNew = !(gf.InfoScreenFileName == this.CurFileName);
					gf.InfoScreenFileName = this.CurFileName;
					this.AddToEditHistory("I" + gf.InfoScreenFileName);
					gf.InfoScreenAction = gf.InfoType.Save;
					gf.InfoScreenLoadItem = true;
					this.toolStripStatusLabel1.Text = " " + gf.InfoScreenFileName;
					this.Cursor = Cursors.Default;
					result = true;
				}
				else
				{
					this.Cursor = Cursors.Default;
					result = false;
				}
			}
			else
			{
				this.Cursor = Cursors.Default;
				result = false;
			}
			return result;
		}
		private void SaveExitBtn_Click(bool UseDialog)
		{
			if (this.SaveBtn_Click(false))
			{
				this.QuitEditor();
			}
		}
		private bool SaveDataToFile(bool UseDialog)
		{
			gf.InfoItem1.Title = this.SongTitle.Text;
			gf.InfoItem1.FolderNo = gf.GetFolderNumber(this.SongFolder.Text);
			gf.InfoItem1.Title2 = this.SongTitle2.Text;
			gf.InfoItem1.SongNumber = gf.StringToInt(this.SongNumber.Text);
			gf.InfoItem1.CompleteLyrics = this.CombinedLyrics;
			gf.InfoItem1.Notations = this.CombinedNotations;
			gf.InfoItem1.SongSequence = this.OrderListSequence;
			gf.InfoItem1.Writer = this.WriterInfo.Text;
			gf.InfoItem1.Copyright = this.CopyrightInfo.Text;
			gf.InfoItem1.Category = "";
			gf.InfoItem1.Timing = this.SongTiming.Text;
			gf.InfoItem1.MusicKey = this.SongKey.Text;
			gf.InfoItem1.Capo = this.SongCapo.SelectedIndex - 1;
			gf.InfoItem1.Show_LicAdminInfo1 = this.LicAdminInfo1.Text;
			gf.InfoItem1.Show_LicAdminInfo2 = this.LicAdminInfo2.Text;
			gf.InfoItem1.Book_Reference = this.BookReference.Text;
			gf.InfoItem1.User_Reference = this.UserReference.Text;
			gf.InfoItem1.RotateString = this.GenerateRotateString();
			gf.InfoItem1.Settings = gf.CombineSettings(gf.InfoItem1);
			return this.SaveInfoScreenFileName(UseDialog);
		}
		private bool SaveInfoScreenFileName(bool UseDialog)
		{
			string text = this.CurFileName;
			string initialDirectory = "";
			try
			{
				initialDirectory = Path.GetDirectoryName(this.CurFileName);
			}
			catch
			{
				if (this.PreviousFileDir == "")
				{
					initialDirectory = gf.InfoScreenDir;
				}
			}
			bool result;
			try
			{
				if (this.CurFileName == "" || UseDialog)
				{
					this.saveFileDialog1.Filter = "EasiSlides InfoScreens (*.esi)|*.esi";
					this.saveFileDialog1.Title = "Save InfoScreen";
					this.saveFileDialog1.InitialDirectory = initialDirectory;
					this.saveFileDialog1.FileName = this.ThisItemFileName;
					this.saveFileDialog1.OverwritePrompt = true;
					this.saveFileDialog1.AddExtension = true;
					this.saveFileDialog1.DefaultExt = ".esi";
					if (this.saveFileDialog1.ShowDialog() != DialogResult.OK)
					{
						result = false;
						return result;
					}
					text = this.saveFileDialog1.FileName;
					if (text != "")
					{
						this.PreviousFileDir = Path.GetDirectoryName(text);
					}
				}
			}
			catch
			{
				this.ShowMessage(1, "Error encountered - InfoScreen NOT saved. Please make sure you have write access.");
				result = false;
				return result;
			}
			try
			{
				gf.SaveXMLInfoScreen(gf.InfoItem1, text, this.Info_HeaderData, gf.InfoScreenLoadNewBackground, false);
				this.ShowMessage(1, "InfoScreen saved");
				this.CurFileName = text;
				this.ThisItemFileName = gf.GetDisplayNameOnly(ref this.CurFileName, false);
				result = true;
			}
			catch
			{
				this.ShowMessage(1, "Error encountered - InfoScreen NOT saved. Please make sure you have write access.");
				result = false;
			}
			return result;
		}
		private void LoadInfoScreen(string InFileName)
		{
			this.ResetAll();
			this.SongLyrics = "";
			string inText = "";
			string inText2 = "";
			this.Title2IgnoreChange = true;
			gf.LoadInfoFile(InFileName, ref gf.InfoItem1, ref this.Info_HeaderData);
			gf.InfoItem1.Show_LicAdminInfo1 = gf.InfoItem1.In_LicAdminInfo1;
			gf.InfoItem1.Show_LicAdminInfo2 = gf.InfoItem1.In_LicAdminInfo2;
			this.ThisItemFileName = gf.GetDisplayNameOnly(ref InFileName, false);
			int num = gf.StringToInt(gf.ExtractOneInfo(ref this.Info_HeaderData[31], '>', false, false));
			this.SongTitle.Text = gf.InfoItem1.Title;
			this.SongFolder.Text = gf.FolderName[gf.InfoItem1.FolderNo];
			this.Title2IgnoreChange = true;
			this.SongTitle2.Text = gf.InfoItem1.Title2;
			this.SongNumber.Text = gf.InfoItem1.SongNumber.ToString();
			this.BookReference.Text = gf.InfoItem1.Book_Reference;
			this.UserReference.Text = gf.InfoItem1.User_Reference;
			this.InitSongTitle2 = this.SongTitle.Text;
			this.CopyrightInfo.Text = gf.InfoItem1.Copyright;
			this.LicAdminInfo1.Text = gf.InfoItem1.Show_LicAdminInfo1;
			this.LicAdminInfo2.Text = gf.InfoItem1.Show_LicAdminInfo2;
			this.WriterInfo.Text = gf.InfoItem1.Writer;
			this.OrderListSequence = gf.InfoItem1.SongSequence;
			string text = gf.InfoItem1.Capo.ToString();
			this.SongCapo.Text = ((text == "" | text == "-1") ? "" : ("Capo " + text));
			if (this.SongCapo.Text == "")
			{
				this.SongCapo.SelectedIndex = 0;
			}
			this.SongTiming.Text = gf.InfoItem1.Timing;
			this.SongKey.Text = gf.InfoItem1.MusicKey;
			this.Lyrics1SavedNotations = gf.InfoItem1.Notations;
			string completeLyrics = gf.InfoItem1.CompleteLyrics;
			gf.ExtractLyrics(completeLyrics, this.Lyrics1SavedNotations, ref inText, ref this.Lyrics1SavedNotations, ref inText2, ref this.Lyrics2SavedNotations);
			this.InitLoad = true;
			this.tbLyrics1.Text = gf.CombineLyricsAndNotations(inText, this.Lyrics1SavedNotations, this.MainFont, this.NotationFont, ref this.tbWorkspace, ref this.tbTempSpace);
			this.tbLyrics2.Text = gf.CombineLyricsAndNotations(inText2, this.Lyrics2SavedNotations, this.MainFont, this.NotationFont, ref this.tbWorkspace, ref this.tbTempSpace);
			this.InitLoad = false;
			this.UpdateVersesList();
			this.IgnoreChange = true;
			gf.ScanSelectedRTB(ref this.tbLyrics1, this.VersePresent, true, 0, 0, this.sArray, this.MainFont, this.NotationFont, true);
			gf.ScanSelectedRTB(ref this.tbLyrics2, this.VersePresent, true, 0, 0, this.sArray, this.MainFont, this.NotationFont, true);
			this.IgnoreChange = false;
			this.RotateString = gf.InfoItem1.RotateString;
			this.OrderList.Items.Clear();
			this.Rotate_OrderList.Items.Clear();
			this.Rotate_tbSourceLocation.Text = gf.GetMediaFileName(this.ThisItemFileName, this.SongTitle2.Text);
			ListViewItem listViewItem = new ListViewItem();
			if (this.OrderListSequence.Length > 0)
			{
				for (int i = 0; i < this.OrderListSequence.Length; i++)
				{
					int num2 = (int)this.OrderListSequence[i];
					listViewItem = this.OrderList.Items.Add(gf.VerseTitle[num2]);
					listViewItem.SubItems.Add(num2.ToString());
				}
			}
			if (gf.InfoItem1.RotateSequence.Length > 0)
			{
				try
				{
					for (int i = 0; i < gf.InfoItem1.RotateSequence.Length; i++)
					{
						int num2 = (int)gf.InfoItem1.RotateSequence[i];
						listViewItem = this.Rotate_OrderList.Items.Add(gf.VerseTitle[num2]);
						listViewItem.SubItems.Add(num2.ToString());
					}
				}
				catch
				{
				}
			}
			this.UpdateRotateTimePositions(gf.InfoItem1.RotateStyle, gf.InfoItem1.RotateGap, gf.InfoItem1.RotateTotal, gf.InfoItem1.RotateTimings, true, false);
			this.UpdateSavedStrings();
			this.Title2IgnoreChange = false;
			this.SongTitle2_Change();
			this.tbLyrics1.Focus();
			this.tbLyrics1.SelectionLength = 0;
			this.StackTrackPos[1, 0] = 0;
			this.StackTrackPos[1, 1] = 0;
			this.StackTrackPos[2, 0] = 0;
			this.StackTrackPos[2, 1] = 0;
			this.ClearStack(0);
			this.CurFileName = InFileName;
			this.toolStripStatusLabel1.Text = " " + this.CurFileName;
		}
		private void SongTitle2_Change()
		{
			if (!this.Title2IgnoreChange)
			{
				if (gf.Trim(this.SongTitle2.Text) == "")
				{
					this.LinkTitle2Pic.Visible = false;
				}
				else
				{
					bool flag = false;
					try
					{
						string fullSearchString = "select * from SONG where LCase(Title_1) like \"" + this.SongTitle2.Text.ToLower() + "\"" + this.SQLFolderLookUp;
						Recordset recordSet = gf.GetRecordSet(gf.ConnectStringMainDB, fullSearchString);
						if (recordSet != null && !recordSet.EOF)
						{
							recordSet.MoveFirst();
							this.LinkTitle2Pic.Visible = true;
							this.Title2IgnoreChange = true;
							this.SongTitle2.Text = gf.ObjToString(recordSet.Fields["Title_1"].Value);
							this.Title2IgnoreChange = false;
							flag = true;
						}
					}
					catch
					{
					}
					if (!flag)
					{
						this.LinkTitle2Pic.Visible = false;
					}
				}
				this.ClearErrorMessage(0);
			}
		}
		private bool ValidateAllDetails()
		{
			bool result;
			if (!this.ValidateTitles())
			{
				result = false;
			}
			else
			{
				if (!this.ValidateSequence())
				{
					result = false;
				}
				else
				{
					int selectionStart = this.tbLyrics1.SelectionStart;
					int selectionStart2 = this.tbLyrics2.SelectionStart;
					if (!this.ValidateContents())
					{
						result = false;
					}
					else
					{
						if (!this.ValidateMusicNotations(ref this.tbLyrics1, ref this.Lyrics1SavedNotations, ref this.Lyrics1Only))
						{
							result = false;
						}
						else
						{
							if (!this.ValidateMusicNotations(ref this.tbLyrics2, ref this.Lyrics2SavedNotations, ref this.Lyrics2Only))
							{
								result = false;
							}
							else
							{
								this.tbLyrics1.SelectionStart = selectionStart;
								this.tbLyrics1.SelectionLength = 0;
								this.tbLyrics1.ScrollToCaret();
								this.tbLyrics2.SelectionStart = selectionStart2;
								this.tbLyrics2.SelectionLength = 0;
								this.tbLyrics2.ScrollToCaret();
								gf.InfoItem1.CompleteLyrics = this.Lyrics1Only;
								gf.InfoItem1.Notations = this.Lyrics1SavedNotations;
								gf.InfoItem2.CompleteLyrics = this.Lyrics2Only;
								gf.InfoItem2.Notations = this.Lyrics2SavedNotations;
								gf.Merge_Songs(gf.InfoItem1, gf.InfoItem2, ref this.CombinedLyrics, ref this.CombinedNotations);
								result = true;
							}
						}
					}
				}
			}
			return result;
		}
		private bool ValidateTitles()
		{
			bool result;
			if (!gf.ValidateTitleDetails(this.SongTitle.Text, "Title"))
			{
				result = false;
			}
			else
			{
				if (!gf.ValidateTitleDetails(this.SongTitle2.Text, "Link Title"))
				{
					result = false;
				}
				else
				{
					if (!gf.ValidateTitleDetails(this.CopyrightInfo.Text, "Copyright Info"))
					{
						result = false;
					}
					else
					{
						if (!gf.ValidateTitleDetails(this.BookReference.Text, "Book Reference Info"))
						{
							result = false;
						}
						else
						{
							if (!gf.ValidateTitleDetails(this.WriterInfo.Text, "Writer Info"))
							{
								result = false;
							}
							else
							{
								if (this.SongNumber.Text != "")
								{
									int num = gf.StringToInt(this.SongNumber.Text, true);
									if (num < 0)
									{
										MessageBox.Show("Song Number must be numeric and without spaces");
										result = false;
										return result;
									}
								}
								if (this.tbLyrics1.TextLength < 1 & this.tbLyrics2.TextLength < 1)
								{
									this.ShowMessage(1, "There are no contents to save!");
									result = false;
								}
								else
								{
									result = true;
								}
							}
						}
					}
				}
			}
			return result;
		}
		private bool ValidateSequence()
		{
			bool result;
			for (int i = 0; i <= this.OrderList.Items.Count - 1; i++)
			{
				int num = gf.StringToInt(this.OrderList.Items[i].SubItems[1].Text);
				if (!this.VersePresent[num])
				{
					if (num > 0 & num < 13)
					{
						this.ShowMessage(1, "Sequence contains Verse " + gf.VerseTitle[num] + " which is not in the lyrics!");
					}
					else
					{
						this.ShowMessage(1, "Sequence contains a " + gf.VerseTitle[num] + " which is not in the lyrics!");
					}
					i = this.OrderList.Items.Count - 1;
					result = false;
					return result;
				}
			}
			result = true;
			return result;
		}
		private bool ValidateContents()
		{
			return this.ValidateContents(ref this.tbLyrics1, 1) && this.ValidateContents(ref this.tbLyrics2, 2);
		}
		private bool ValidateContents(ref RichTextBox InTextBox, int Region)
		{
			this.IgnoreChange = true;
			InTextBox.Text = InTextBox.Text.Replace("\r\n", "\n");
			if (Region == 1)
			{
				gf.ScanSelectedRTB(ref this.tbLyrics1, this.VersePresent, true, 0, 0, this.sArray, this.MainFont, this.NotationFont, true);
			}
			else
			{
				gf.ScanSelectedRTB(ref this.tbLyrics2, this.VersePresent, true, 0, 0, this.sArray, this.MainFont, this.NotationFont, true);
			}
			this.IgnoreChange = false;
			bool flag = true;
			int num = 0;
			while (flag)
			{
				if (this.VersePresent[num])
				{
					int num2 = InTextBox.Text.IndexOf(gf.VerseSymbol[num]);
					if (num2 >= 0)
					{
						if (num2 != 0)
						{
							if (gf.Mid(InTextBox.Text, num2 - 1, 1) != "\n")
							{
								gf.ClipboardPasteTextBox(InTextBox, num2 - 1, "\r\n\r\n");
								num2 = InTextBox.SelectionStart + 1;
							}
							num2 += gf.VerseSymbol[num].Length;
							if (gf.Mid(InTextBox.Text, num2, 1) != "\n")
							{
								gf.ClipboardPasteTextBox(InTextBox, num2, "\r\n\r\n");
								num2 = InTextBox.SelectionStart + 1;
							}
						}
					}
				}
				num++;
				if (num > 99 & num < 100)
				{
					num = 100;
				}
				if (num > 150)
				{
					flag = false;
				}
			}
			this.tbWorkspace.Text = InTextBox.Text.Replace("\r\n", "\n");
			int num3 = this.tbWorkspace.Text.IndexOf(gf.VerseSymbol[150]);
			bool result;
			if (num3 >= 0)
			{
				this.ShowMessage(Region, "REGION 2 indicator is not permitted - please remove");
				InTextBox.Focus();
				InTextBox.SelectionStart = num3;
				InTextBox.SelectionLength = gf.VerseSymbol[150].Length;
				result = false;
			}
			else
			{
				flag = true;
				bool flag2 = false;
				num = 0;
				int num4 = -1;
				int num5 = -1;
				int num6 = 30000;
				int num7 = 0;
				while (num < 160 & flag)
				{
					if (this.VersePresent[num])
					{
						int num2 = this.tbWorkspace.Text.IndexOf(gf.VerseSymbol[num]);
						if (num2 >= 0)
						{
							if (num2 < num6)
							{
								num6 = num2;
								num5 = num;
							}
							if (num >= 0 & num <= 112)
							{
								int num8 = this.tbWorkspace.Text.IndexOf(gf.VerseSymbol[num], num2 + gf.VerseSymbol[num].Length);
								if (num8 >= 0)
								{
									flag2 = true;
								}
								if (num > 1 & num < 100)
								{
									if (!this.VersePresent[num - 1] & num4 < 0)
									{
										num4 = num - 1;
									}
									if (num7 < 1)
									{
										num7 = 1;
									}
								}
								else
								{
									num7 = num;
								}
							}
						}
					}
					if (flag2)
					{
						flag = false;
					}
					else
					{
						num++;
						if (num > 99 & num < 100)
						{
							num = 100;
						}
					}
				}
				if (flag2)
				{
					int num2 = -1;
					int num8 = -1;
					for (int i = 0; i <= this.tbWorkspace.TextLength; i++)
					{
						this.tbWorkspace.SelectionStart = i;
						this.tbWorkspace.SelectionLength = gf.VerseSymbol[num].Length;
						if (this.tbWorkspace.SelectedText == gf.VerseSymbol[num])
						{
							if (num2 < 0)
							{
								num2 = i;
							}
							else
							{
								num8 = i;
								i = this.tbWorkspace.TextLength;
							}
						}
					}
					if (num > 0 & num < 13)
					{
						this.ShowMessage(Region, "Duplicate Verse " + gf.VerseTitle[num] + " indicator found - please amend.");
					}
					else
					{
						this.ShowMessage(Region, "Duplicate " + gf.VerseTitle[num] + " indicator found - please amend.");
					}
					InTextBox.Focus();
					InTextBox.SelectionStart = num8;
					InTextBox.SelectionLength = gf.VerseSymbol[num].Length;
					result = false;
				}
				else
				{
					if (num4 > 0)
					{
						this.ShowMessage(Region, "Verse " + num4.ToString() + " indicator is missing.");
						result = false;
					}
					else
					{
						if (num7 > 0)
						{
							if (num6 != 0)
							{
								if (num5 > 0 & num5 < 13)
								{
									this.ShowMessage(Region, "Indicator is required for the lyrics before Verse " + num5.ToString());
								}
								else
								{
									this.ShowMessage(Region, "Indicator is required for the lyrics before the " + gf.VerseTitle[num5]);
								}
								result = false;
								return result;
							}
						}
						this.ClearErrorMessage(Region);
						result = true;
					}
				}
			}
			return result;
		}
		private void UpdateVersesList()
		{
			if (!this.InitLoad)
			{
				ListViewItem listViewItem = new ListViewItem();
				this.wArray = "";
				this.countb = -1L;
				this.VerseSymbolChanged = false;
				bool flag = false;
				for (int i = 0; i < 160; i++)
				{
					if (i <= 99 | (i >= 100 & i <= 112) | (i >= 150 & i < 152))
					{
						int num = this.tbLyrics1.Text.IndexOf(gf.VerseSymbol[i], 0);
						if (gf.VerseSymbol[i] != "" && num >= 0)
						{
							this.VersePresent[i] = true;
							this.VersePresentNewScreenCount[i] = this.CountVerseScreens(this.tbLyrics1.Text, num + 1);
							flag = true;
						}
						else
						{
							num = this.tbLyrics2.Text.IndexOf(gf.VerseSymbol[i], 0);
							if (gf.VerseSymbol[i] != "" && num >= 0)
							{
								this.VersePresent[i] = true;
								this.VersePresentNewScreenCount[i] = this.CountVerseScreens(this.tbLyrics2.Text, num + 1);
								flag = true;
							}
							else
							{
								this.VersePresent[i] = false;
								this.VersePresentNewScreenCount[i] = 0;
							}
						}
						if (this.VersePresent[i] != this.prevVersePresent[i])
						{
							this.VerseSymbolChanged = true;
						}
						this.wArray += (this.VersePresent[i] ? ("," + gf.VerseSymbol[i]) : "");
					}
				}
				if (this.wArray != "")
				{
					this.wArray = gf.Mid(this.wArray, 1);
				}
				this.sArray = this.wArray.Split(new char[]
				{
					','
				});
				if (this.VerseSymbolChanged)
				{
					this.VersesList.Items.Clear();
					for (int i = 1; i <= 99; i++)
					{
						if (this.VersePresent[i])
						{
							listViewItem = this.VersesList.Items.Add(gf.VerseTitle[i]);
							listViewItem.SubItems.Add(i.ToString());
							listViewItem.SubItems.Add(this.VersePresentNewScreenCount[i].ToString());
						}
						this.prevVersePresent[i] = this.VersePresent[i];
					}
					if (this.VersePresent[0])
					{
						listViewItem = this.VersesList.Items.Add(gf.VerseTitle[0]);
						listViewItem.SubItems.Add(0.ToString());
						listViewItem.SubItems.Add(this.VersePresentNewScreenCount[0].ToString());
					}
					this.prevVersePresent[0] = this.VersePresent[0];
					for (int i = 100; i <= 112; i++)
					{
						if (this.VersePresent[i])
						{
							listViewItem = this.VersesList.Items.Add(gf.VerseTitle[i]);
							listViewItem.SubItems.Add(i.ToString());
							listViewItem.SubItems.Add(this.VersePresentNewScreenCount[0].ToString());
						}
						this.prevVersePresent[i] = this.VersePresent[i];
					}
				}
				if ((this.VersesList.Items.Count == 0 && (this.tbLyrics1.Text != "" || this.tbLyrics2.Text != "")) || (this.VersesList.Items.Count > 0 && (!this.VersePresent[1] || this.tbLyrics1.Text == "" || this.tbLyrics1.Text[0] != '[')))
				{
					this.VersePresentNewScreenCount[1] = this.CountVerseScreens(this.tbLyrics1.Text, 0);
					if (this.VersePresentNewScreenCount[1] < 1)
					{
						this.VersePresentNewScreenCount[1] = 1;
					}
					this.VersePresent[1] = true;
					listViewItem = this.VersesList.Items.Add(gf.VerseTitle[1]);
					listViewItem.SubItems.Add("1");
					listViewItem.SubItems.Add(this.VersePresentNewScreenCount[1].ToString());
					this.prevVersePresent[1] = this.VersePresent[1];
					flag = true;
				}
				this.CopyVerseListToRotateVerseList();
				if (flag || this.VerseSymbolChanged)
				{
					this.UpdateRotateTimePositions();
				}
			}
		}
		private int CountVerseScreens(string InText, int StartIndex)
		{
			int num = InText.IndexOf('[', StartIndex);
			if (num < 0)
			{
				num = InText.Length;
			}
			int num2 = 1;
			int num3 = InText.IndexOf("\n\n", StartIndex);
			if (num3 >= 0)
			{
				while (num3 >= 0 && num3 < num)
				{
					num2++;
					if (num3 + 2 < InText.Length)
					{
						num3 = InText.IndexOf("\n\n", num3 + 2);
					}
					else
					{
						num3 = -1;
					}
				}
			}
			return num2;
		}
		private void tbLyrics_SelectionChanged(object sender, EventArgs e)
		{
			if (!this.IgnoreChange)
			{
				this.Lyrics_SelectionChanged(1);
			}
		}
		private void tbLyrics2_SelectionChanged(object sender, EventArgs e)
		{
			if (!this.IgnoreChange)
			{
				this.Lyrics_SelectionChanged(2);
			}
		}
		private void Lyrics_SelectionChanged(int Region)
		{
			this.StackTrackPos[Region, 0] = this.StackTrackPos[Region, 1];
			this.StackTrackPos[Region, 1] = ((Region == 1) ? this.tbLyrics1.SelectionStart : this.tbLyrics2.SelectionStart);
		}
		private void FrmInfoScreen_Resize(object sender, EventArgs e)
		{
			this.SetTopPanel();
			this.groupBox2.Left = base.Width - this.groupBox2.Width - 11;
			int num = this.groupBox2.Left - this.groupBox1.Left - 3;
			num = ((num > 0) ? num : 0);
			this.groupBox1.Width = num;
			if (this.groupBox1.Width < 443)
			{
				this.panel7.Width = 216;
			}
			else
			{
				this.panel7.Width = this.groupBox1.Width - 227;
			}
			this.panel8.Left = this.panel7.Left + this.panel7.Width;
			this.ResizeTitleFields();
			this.SetRotatePanel();
		}
		private void ResizeTitleFields()
		{
			this.SongTitle.Width = this.panel8.Left - this.SongTitle.Left - 7;
			this.WriterInfo.Width = this.SongTitle.Width;
			this.CopyrightInfo.Width = this.SongTitle.Width;
			this.SongTitle2.Width = this.SongTitle.Width - (this.panelLinkTitle2Lookup.Width + this.LinkTitle2Pic.Width) - 3;
			this.LinkTitle2Pic.Left = this.SongTitle.Left + this.SongTitle2.Width + 3;
			this.panelLinkTitle2Lookup.Left = this.LinkTitle2Pic.Left + this.LinkTitle2Pic.Width;
			int num = this.WriterInfo.Width - (this.SongFolder.Left - this.WriterInfo.Left);
			this.SongFolder.Width = ((num < 20) ? 20 : num);
			this.Btn_Title.Left = this.SongTitle.Left + this.SongTitle.Width - this.Btn_Title.Width;
			this.Btn_Title2.Left = this.SongTitle2.Left + this.SongTitle2.Width - this.Btn_Title2.Width;
			this.Btn_Writer.Left = this.WriterInfo.Left + this.WriterInfo.Width - this.Btn_Writer.Width;
			this.Btn_Copyright.Left = this.CopyrightInfo.Left + this.CopyrightInfo.Width - this.Btn_Copyright.Width;
			this.UserReference.Width = (this.Btn_UserRef.Visible ? (162 - this.Btn_UserRef.Width) : 162);
			this.BookReference.Width = (this.Btn_BookRef.Visible ? (162 - this.Btn_BookRef.Width) : 162);
			this.SongTitle.Width -= (this.Btn_Title.Visible ? this.Btn_Title.Width : 0);
			this.SongTitle2.Width -= (this.Btn_Title2.Visible ? this.Btn_Title2.Width : 0);
			this.WriterInfo.Width -= (this.Btn_Writer.Visible ? this.Btn_Writer.Width : 0);
			this.CopyrightInfo.Width -= (this.Btn_Copyright.Visible ? this.Btn_Copyright.Width : 0);
		}
		private void ComboFonts_SelectedIndexChanged(object sender, EventArgs e)
		{
			this.ApplyFonts();
		}
		private void tbLyrics1_TextChanged(object sender, EventArgs e)
		{
			if (!this.IgnoreChange)
			{
				this.Lyrics_TextChanged(1);
			}
		}
		private void tbLyrics2_TextChanged(object sender, EventArgs e)
		{
			if (!this.IgnoreChange)
			{
				this.Lyrics_TextChanged(2);
			}
		}
		private void Lyrics_TextChanged(int Region)
		{
			this.IgnoreChange = true;
			if (this.tbLyrics1.Text != "" | this.tbLyrics2.Text != "")
			{
				if (this.ComboFontName.Enabled)
				{
					this.EnableFontNameSize(false);
				}
			}
			else
			{
				this.EnableFontNameSize(true);
			}
			this.ClearErrorMessage(Region);
			this.UpdateVersesList();
			this.IgnoreChange = false;
			if (!this.InsertingPresetItem)
			{
				this.rtfMain_Change(Region);
			}
			this.IgnoreChange = true;
			if (Region == 1)
			{
				gf.ScanSelectedRTB(ref this.tbLyrics1, this.VersePresent, false, this.StackTrackPos[Region, 1], this.StackTrackPos[Region, 1], this.sArray, this.MainFont, this.NotationFont, true);
				this.tbLyrics1.Focus();
			}
			else
			{
				gf.ScanSelectedRTB(ref this.tbLyrics2, this.VersePresent, false, this.StackTrackPos[Region, 1], this.StackTrackPos[Region, 1], this.sArray, this.MainFont, this.NotationFont, true);
				this.tbLyrics2.Focus();
			}
			this.IgnoreChange = false;
		}
		private void SongFolder_SelectedIndexChanged(object sender, EventArgs e)
		{
			int folderNumber = gf.GetFolderNumber(this.SongFolder.Items[this.SongFolder.SelectedIndex].ToString());
			try
			{
				this.SetRightToLeft1 = (gf.ShowFontRTL[folderNumber, 0] > 0);
				this.SetRightToLeft2 = (gf.ShowFontRTL[folderNumber, 1] > 0);
			}
			catch
			{
				this.SetRightToLeft1 = false;
				this.SetRightToLeft2 = false;
			}
			this.SetRightToLeftAtRegion(1, this.SetRightToLeft1);
			this.SetRightToLeftAtRegion(2, this.SetRightToLeft2);
			this.ClearErrorMessage(0);
		}
		private void FileName_TextChanged(object sender, EventArgs e)
		{
			this.ClearErrorMessage(0);
		}
		private void FrmInfoScreen_FormClosing(object sender, FormClosingEventArgs e)
		{
			if (!this.FormCanClose)
			{
				this.ClearErrorMessage(0);
				this.Save_FormPos_To_Registry();
				if (this.ActionBeforeNextEvent() == DialogResult.Cancel)
				{
					e.Cancel = true;
					return;
				}
				gf.InfoScreenFormOpen = false;
			}
			try
			{
				this.DShowPlayer.TidyUp();
				this.TimerEditRequest.Stop();
				this.ApplyPlayControls(FrmInfoScreen.ControlsBtn.Closebtn);
				this.TimerTrack.Stop();
				this.TimerFast.Stop();
			}
			catch
			{
			}
		}
		private void splitContainerMain_SplitterMoved(object sender, SplitterEventArgs e)
		{
			if (!this.SplitterReAdjust)
			{
				this.SetTopPanel();
				if (this.splitContainerMain.SplitterDistance < 130)
				{
					this.SplitterReAdjust = true;
					this.splitContainerMain.SplitterDistance = 130;
					this.SplitterReAdjust = false;
				}
				this.groupBox2.Height = this.splitContainerMain.Panel1.Height - 1;
				this.panelVerses.Height = this.groupBox2.Height - 15;
				this.panelOrderList.Height = this.panelVerses.Height;
			}
		}
		private void SetTopPanel()
		{
			if (base.WindowState == FormWindowState.Normal)
			{
				this.splitContainerMain.FixedPanel = FixedPanel.Panel1;
			}
			else
			{
				if (base.WindowState == FormWindowState.Maximized)
				{
					this.splitContainerMain.FixedPanel = FixedPanel.None;
				}
			}
		}
		private void Menu_EditHistory_Click(object sender, EventArgs e)
		{
			try
			{
				ToolStripMenuItem toolStripMenuItem = (ToolStripMenuItem)sender;
				int num = gf.ObjToInt(toolStripMenuItem.Tag) + 1;
				if (this.ActionBeforeNextEvent() != DialogResult.Cancel)
				{
					this.CurFileName = gf.Mid(gf.InfoScreenEditHistoryList[num, 0], 1);
					this.LoadInfoScreen(this.CurFileName);
					this.AddToEditHistory("I" + this.CurFileName);
					gf.InfoScreenFileName = this.CurFileName;
					gf.InfoScreenLoadItem = true;
				}
			}
			catch
			{
			}
		}
		private void R1Chinese_Click(object sender, EventArgs e)
		{
			this.SwitchChinese(1);
		}
		private void R2Chinese_Click(object sender, EventArgs e)
		{
			this.SwitchChinese(2);
		}
		private void R1UndoRedo_Click(object sender, EventArgs e)
		{
			Button button = (Button)sender;
			switch (gf.ObjToInt(button.Tag))
			{
			case 0:
				this.cmdUndo_Click(1);
				break;
			case 1:
				this.cmdRedo_Click(1);
				break;
			}
		}
		private void R2UndoRedo_Click(object sender, EventArgs e)
		{
			Button button = (Button)sender;
			switch (gf.ObjToInt(button.Tag))
			{
			case 0:
				this.cmdUndo_Click(2);
				break;
			case 1:
				this.cmdRedo_Click(2);
				break;
			}
		}
		private void ClearStack(int Region)
		{
			if (Region == 0 | Region == 1)
			{
				this.StackIndex[1] = -1;
				this.StackMaxRedo[1] = -1;
				this.StackStartPoint[1] = 0;
				this.rtfMain_Change(1);
			}
			if (Region == 0 | Region == 2)
			{
				this.StackIndex[2] = -1;
				this.StackMaxRedo[2] = -1;
				this.StackStartPoint[2] = 0;
				this.rtfMain_Change(2);
			}
		}
		private void cmdUndo_Click(int Region)
		{
			if (this.StackIndex[Region] != this.StackStartPoint[Region])
			{
				this.IgnoreChange = true;
				this.StackIndex[Region] = this.StackIndex[Region] - 1;
				if (this.StackIndex[Region] >= 0)
				{
					if (Region == 1)
					{
						this.AssignStackToLyrics(ref this.tbLyrics1, Region);
					}
					else
					{
						if (Region == 2)
						{
							this.AssignStackToLyrics(ref this.tbLyrics2, Region);
						}
					}
				}
				else
				{
					if (this.StackStartPoint[Region] > 0)
					{
						this.StackIndex[Region] = this.StackArrayMaxPoint;
					}
				}
				this.IgnoreChange = false;
			}
			if (Region == 1)
			{
				this.tbLyrics1.Focus();
			}
			else
			{
				this.tbLyrics2.Focus();
			}
		}
		private void cmdRedo_Click(int Region)
		{
			if (this.StackIndex[Region] != this.StackMaxRedo[Region])
			{
				this.IgnoreChange = true;
				this.StackIndex[Region] = this.StackIndex[Region] + 1;
				if (this.StackIndex[Region] > this.StackArrayMaxPoint)
				{
					this.StackIndex[Region] = 0;
				}
				if (Region == 1)
				{
					this.AssignStackToLyrics(ref this.tbLyrics1, Region);
				}
				else
				{
					if (Region == 2)
					{
						this.AssignStackToLyrics(ref this.tbLyrics2, Region);
					}
				}
				this.IgnoreChange = false;
			}
			if (Region == 1)
			{
				this.tbLyrics1.Focus();
			}
			else
			{
				this.tbLyrics2.Focus();
			}
		}
		private void AssignStackToLyrics(ref RichTextBox InLyrics, int Region)
		{
			InLyrics.Rtf = this.sStack[Region, this.StackIndex[Region]];
			InLyrics.SelectionStart = this.iCursorPosition[Region, this.StackIndex[Region]];
			this.UpdateVersesList();
		}
		private void Verses_Add_Click(object sender, EventArgs e)
		{
			ToolStripButton toolStripButton = (ToolStripButton)sender;
			if (toolStripButton.Name == "Verses_Add")
			{
				this.AddBtn_Click(ref this.VersesList, ref this.OrderList, ref this.OrderListSequence);
			}
			else
			{
				this.SmartAddBtn_Click(ref this.OrderList, ref this.OrderListSequence);
			}
		}
		private void AddBtn_Click(ref ListView InVersesList, ref ListView InOrderList, ref string InSequence)
		{
			ListViewItem listViewItem = new ListViewItem();
			this.ClearErrorMessage(0);
			for (int i = 0; i <= InVersesList.Items.Count - 1; i++)
			{
				if (InVersesList.Items[i].Selected)
				{
					listViewItem = InOrderList.Items.Add(InVersesList.Items[i].Text);
					listViewItem.SubItems.Add(InVersesList.Items[i].SubItems[1].Text);
				}
			}
			this.UpdateSequence(ref InOrderList, ref InSequence);
		}
		private void UpdateSequence(ref ListView InOrderList, ref string InSequence)
		{
			InSequence = "";
			if (InOrderList.Items.Count > 0)
			{
				for (int i = 0; i < InOrderList.Items.Count; i++)
				{
					InSequence += (char)gf.StringToInt(InOrderList.Items[i].SubItems[1].Text);
				}
			}
			if (InOrderList.Name == "Rotate_OrderList")
			{
				this.UpdateRotateTimePositions();
			}
		}
		private void SmartAddBtn_Click(ref ListView InOrderList, ref string InSequence)
		{
			ListViewItem listViewItem = new ListViewItem();
			this.ClearErrorMessage(0);
			InOrderList.Items.Clear();
			this.tbWorkspace.Text = this.tbLyrics1.Text;
			int num = this.tbWorkspace.Text.IndexOf("[");
			if (this.tbWorkspace.Text.IndexOf(gf.VerseSymbol[0]) == num & num >= 0)
			{
				listViewItem = InOrderList.Items.Add(gf.VerseTitle[0]);
				listViewItem.SubItems.Add(0.ToString());
			}
			for (int i = 1; i < 99; i++)
			{
				if (this.VersePresent[i])
				{
					listViewItem = InOrderList.Items.Add(gf.VerseTitle[i]);
					listViewItem.SubItems.Add(i.ToString());
					if (this.VersePresent[111])
					{
						if (!this.VersePresent[i + 1] & this.VersePresent[112])
						{
							listViewItem = InOrderList.Items.Add(gf.VerseTitle[112]);
							listViewItem.SubItems.Add(112.ToString());
						}
						else
						{
							listViewItem = InOrderList.Items.Add(gf.VerseTitle[111]);
							listViewItem.SubItems.Add(111.ToString());
						}
					}
					if (this.VersePresent[0])
					{
						if (!this.VersePresent[i + 1] & this.VersePresent[102])
						{
							listViewItem = InOrderList.Items.Add(gf.VerseTitle[102]);
							listViewItem.SubItems.Add(102.ToString());
						}
						else
						{
							listViewItem = InOrderList.Items.Add(gf.VerseTitle[0]);
							listViewItem.SubItems.Add(0.ToString());
						}
					}
					if (i == 1 & this.VersePresent[100])
					{
						listViewItem = InOrderList.Items.Add(gf.VerseTitle[100]);
						listViewItem.SubItems.Add(100.ToString());
					}
				}
			}
			if (this.VersePresent[101])
			{
				listViewItem = InOrderList.Items.Add(gf.VerseTitle[101]);
				listViewItem.SubItems.Add(101.ToString());
			}
			this.UpdateSequence(ref InOrderList, ref InSequence);
		}
		private void OrderList_Btn_Click(object sender, EventArgs e)
		{
			ToolStripButton toolStripButton = (ToolStripButton)sender;
			if (toolStripButton.Name == "OrderList_Up")
			{
				this.MoveUPBtn_Click(ref this.OrderList, ref this.OrderListSequence);
			}
			else
			{
				if (toolStripButton.Name == "OrderList_Down")
				{
					this.MoveDownBtn_Click(ref this.OrderList, ref this.OrderListSequence);
				}
				else
				{
					this.DelBtn_Click(ref this.OrderList, ref this.OrderListSequence);
				}
			}
		}
		private void MoveUPBtn_Click(ref ListView InOrderList, ref string InSequence)
		{
			this.ClearErrorMessage(0);
			int count = InOrderList.Items.Count;
			if (count >= 1)
			{
				int num = 0;
				for (int i = 0; i < count; i++)
				{
					if (InOrderList.Items[i].Selected)
					{
						if (num < 1)
						{
							num = i;
						}
						else
						{
							i = count;
							num = 0;
						}
					}
				}
				if (num >= 1)
				{
					string text = InOrderList.Items[num].Text;
					InOrderList.Items[num].Text = InOrderList.Items[num - 1].Text;
					InOrderList.Items[num - 1].Text = text;
					text = InOrderList.Items[num].SubItems[1].Text;
					InOrderList.Items[num].SubItems[1].Text = InOrderList.Items[num - 1].SubItems[1].Text;
					InOrderList.Items[num - 1].SubItems[1].Text = text;
					InOrderList.Items[num].Selected = false;
					InOrderList.Items[num - 1].Selected = true;
					this.UpdateSequence(ref InOrderList, ref InSequence);
				}
			}
		}
		private void MoveDownBtn_Click(ref ListView InOrderList, ref string InSequence)
		{
			this.ClearErrorMessage(0);
			int count = InOrderList.Items.Count;
			if (count > 1)
			{
				int num = 0;
				for (int i = 0; i <= count - 1; i++)
				{
					if (InOrderList.Items[i].Selected)
					{
						if (num < 1)
						{
							num = i;
						}
						else
						{
							i = count;
							num = -1;
						}
					}
				}
				if (!(num < 0 | num == count - 1))
				{
					string text = InOrderList.Items[num].Text;
					InOrderList.Items[num].Text = InOrderList.Items[num + 1].Text;
					InOrderList.Items[num + 1].Text = text;
					text = InOrderList.Items[num].SubItems[1].Text;
					InOrderList.Items[num].SubItems[1].Text = InOrderList.Items[num + 1].SubItems[1].Text;
					InOrderList.Items[num + 1].SubItems[1].Text = text;
					InOrderList.Items[num].Selected = false;
					InOrderList.Items[num + 1].Selected = true;
					this.UpdateSequence(ref InOrderList, ref InSequence);
				}
			}
		}
		private void DelBtn_Click(ref ListView InOrderList, ref string InSequence)
		{
			this.ClearErrorMessage(0);
			if (InOrderList.Items.Count != 0)
			{
				int num = 0;
				for (int i = InOrderList.Items.Count - 1; i >= 0; i--)
				{
					if (InOrderList.Items[i].Selected)
					{
						InOrderList.Items[i].Remove();
						num = i;
					}
				}
				if (num > 0)
				{
					num--;
				}
				if (InOrderList.Items.Count > 0)
				{
					InOrderList.Items[num].Selected = true;
				}
				this.UpdateSequence(ref InOrderList, ref InSequence);
			}
		}
		private void OrderList_KeyUp(object sender, KeyEventArgs e)
		{
			this.Action_OrderList_KeyUpEvent(ref this.OrderList, e, ref this.OrderListSequence);
		}
		private void Action_OrderList_KeyUpEvent(ref ListView InOrderList, KeyEventArgs e, ref string InSequence)
		{
			if (e.Control && e.KeyCode == Keys.A)
			{
				for (int i = 0; i <= InOrderList.Items.Count - 1; i++)
				{
					InOrderList.Items[i].Selected = true;
				}
			}
			else
			{
				if (e.Control && e.KeyCode == Keys.C)
				{
					this.tempSequenceCopied.Items.Clear();
					ListViewItem listViewItem = new ListViewItem();
					for (int i = 0; i <= InOrderList.Items.Count - 1; i++)
					{
						if (InOrderList.Items[i].Selected)
						{
							listViewItem = this.tempSequenceCopied.Items.Add(InOrderList.Items[i].Text);
							listViewItem.SubItems.Add(InOrderList.Items[i].SubItems[1].Text);
						}
					}
				}
				else
				{
					if (e.Control && e.KeyCode == Keys.V)
					{
						ListViewItem listViewItem = new ListViewItem();
						for (int i = 0; i <= this.tempSequenceCopied.Items.Count - 1; i++)
						{
							listViewItem = InOrderList.Items.Add(this.tempSequenceCopied.Items[i].Text);
							listViewItem.SubItems.Add(this.tempSequenceCopied.Items[i].SubItems[1].Text);
						}
						this.UpdateSequence(ref InOrderList, ref InSequence);
					}
					else
					{
						if (e.KeyCode == Keys.Delete)
						{
							this.DelBtn_Click(ref InOrderList, ref InSequence);
						}
					}
				}
			}
		}
		private void VersesList_DoubleClick(object sender, EventArgs e)
		{
			if (this.VersesList.SelectedItems.Count > 0)
			{
				this.AddBtn_Click(ref this.VersesList, ref this.OrderList, ref this.OrderListSequence);
			}
		}
		private void SongTitle2_TextChanged(object sender, EventArgs e)
		{
			this.SongTitle2_Change();
		}
		private void R1VerseFormat_Click(object sender, EventArgs e)
		{
			gf.FormatPlainLyrics(ref this.tbLyrics1);
		}
		private void R2VerseFormat_Click(object sender, EventArgs e)
		{
			gf.FormatPlainLyrics(ref this.tbLyrics2);
		}
		private void TimerEditRequest_Tick(object sender, EventArgs e)
		{
			if (gf.InfoScreen_RequestReceived)
			{
				gf.InfoScreen_RequestReceived = false;
				if (gf.InfoScreenAction == gf.InfoType.FormatStringUpdate)
				{
					if (gf.InfoScreenFileName != "" && gf.InfoScreenFileName == gf.InfoScreenDir + this.ThisItemFileName + ".esi")
					{
						gf.InfoItem1.Format.FormatString = gf.InfoScreenNewFormatString;
						gf.InfoScreenNewFormatString = "";
						if (gf.InfoScreenLoadNewBackground)
						{
							gf.InfoItem1.Format.BackgroundPicture = gf.InfoScreenBackgroundPicture;
						}
					}
				}
				else
				{
					this.ClearErrorMessage(0);
					if (base.WindowState == FormWindowState.Minimized)
					{
						base.WindowState = FormWindowState.Normal;
					}
					base.TopMost = true;
					base.Focus();
					base.TopMost = false;
					if (gf.InfoScreenFileName != "")
					{
						if (this.ActionBeforeNextEvent() == DialogResult.Cancel)
						{
							return;
						}
						this.LoadInfoScreen(gf.InfoScreenFileName);
						this.AddToEditHistory("I" + gf.InfoScreenFileName);
					}
					else
					{
						this.NewItem();
					}
				}
				gf.InfoScreenAction = gf.InfoType.NoAction;
			}
			if (gf.Edit_HistoryMaxChanged)
			{
				gf.SaveInfoScreenEditHistoryToRegistry();
				this.UpdateMenu_EditHistory();
			}
		}
		private void Title2_LookUp_Click(object sender, EventArgs e)
		{
			if (this.SongTitle2.Text == "")
			{
				gf.Lookup_NameSelected = "*";
			}
			else
			{
				gf.Lookup_NameSelected = "*" + gf.Trim(this.SongTitle2.Text) + "*";
			}
			FrmLookupTitles frmLookupTitles = new FrmLookupTitles();
			if (frmLookupTitles.ShowDialog() == DialogResult.OK)
			{
				if (gf.Lookup_NameSelected != "")
				{
					this.SongTitle2.Text = gf.Lookup_NameSelected;
					if (gf.Lookup_NameBookRef != "")
					{
						gf.UpdateRefString(gf.Lookup_NameBookRef, ",", ref this.BookReference, ",");
					}
					if (gf.Lookup_NameUserRef != "")
					{
						gf.UpdateRefString(gf.Lookup_NameUserRef, ",", ref this.UserReference, ",");
					}
				}
			}
		}
		private void SyncBtnUpDown_Click(object sender, EventArgs e)
		{
			Button button = (Button)sender;
			int direction = gf.ObjToInt(button.Tag);
			this.ScrollBothLyrics(direction);
		}
		private void ScrollBothLyrics(int Direction)
		{
			int num = this.tbLyrics1.SelectionStart;
			int selectionLength = this.tbLyrics1.SelectionLength;
			int selectionStart = 0;
			int num2 = selectionLength;
			if (!this.ScreenBreak1Available)
			{
				gf.MapLyricsBreak(ref this.ScreenBreaks1, ref this.tbLyrics1, ref this.ScreenBreak1Available);
			}
			if (!this.ScreenBreak2Available)
			{
				gf.MapLyricsBreak(ref this.ScreenBreaks2, ref this.tbLyrics2, ref this.ScreenBreak2Available);
			}
			string lookupVerseSym = "";
			int lookupScreenCount = 0;
			if (num == 0 && selectionLength == 0)
			{
				num = -1;
			}
			gf.GetBreakPosition(this.ScreenBreaks1, num, Direction, ref selectionStart, ref num2, ref lookupVerseSym, ref lookupScreenCount);
			int selectionStart2 = 0;
			int num3 = 0;
			gf.GetBreakPosition(this.ScreenBreaks2, ref selectionStart2, ref num3, lookupVerseSym, lookupScreenCount);
			this.tbLyrics1.SelectionStart = selectionStart;
			this.tbLyrics1.SelectionLength = ((num2 >= 0) ? num2 : (this.tbLyrics1.Text.Length - num2));
			this.tbLyrics1.ScrollToCaret();
			this.tbLyrics2.SelectionStart = selectionStart2;
			this.tbLyrics2.SelectionLength = ((num3 >= 0) ? num3 : (this.tbLyrics2.Text.Length - num3));
			this.tbLyrics2.ScrollToCaret();
			this.tbLyrics1.Focus();
		}
		private void TextBox_Leave(object sender, EventArgs e)
		{
			TextBox textBox = (TextBox)sender;
			this.TextBoxBtnMovement(textBox.Name);
		}
		private void SetTextBoxInvisible()
		{
			this.Btn_Title.Visible = false;
			this.Btn_Title2.Visible = false;
			this.Btn_Writer.Visible = false;
			this.Btn_Copyright.Visible = false;
			this.Btn_BookRef.Visible = false;
			this.Btn_UserRef.Visible = false;
		}
		private void TextBox_Enter(object sender, EventArgs e)
		{
			TextBox textBox = (TextBox)sender;
			this.TextBoxBtnMovement(textBox.Name);
		}
		private void Btn_Enter(object sender, EventArgs e)
		{
			Button button = (Button)sender;
			this.TextBoxBtnMovement(button.Name);
		}
		private void TextBoxBtnMovement(string InName)
		{
			this.SetTextBoxInvisible();
			switch (InName)
			{
			case "SongTitle":
			case "Btn_Title":
				this.Btn_Title.Visible = true;
				break;
			case "SongTitle2":
			case "Btn_Title2":
				this.Btn_Title2.Visible = true;
				break;
			case "WriterInfo":
			case "Btn_Writer":
				this.Btn_Writer.Visible = true;
				break;
			case "CopyrightInfo":
			case "Btn_Copyright":
				this.Btn_Copyright.Visible = true;
				break;
			case "BookReference":
			case "Btn_BookRef":
				this.Btn_BookRef.Visible = true;
				break;
			case "UserReference":
			case "Btn_UserRef":
				this.Btn_UserRef.Visible = true;
				break;
			}
			this.ResizeTitleFields();
		}
		private void tbLyrics1_KeyDown(object sender, KeyEventArgs e)
		{
			if (e.Control && e.KeyCode == Keys.Z)
			{
				this.cmdUndo_Click(1);
			}
			else
			{
				if (e.Control && e.KeyCode == Keys.Y)
				{
					this.cmdRedo_Click(1);
				}
			}
		}
		private void tbLyrics1_KeyUp(object sender, KeyEventArgs e)
		{
			if (e.KeyCode == Keys.F8)
			{
				this.InsertingPresetItem = true;
				gf.InsertIndicator(ref this.tbLyrics1, 152);
				this.InsertingPresetItem = false;
				this.Lyrics_TextChanged(1);
			}
		}
		private void tbLyrics2_KeyDown(object sender, KeyEventArgs e)
		{
			if (e.Control && e.KeyCode == Keys.Z)
			{
				this.cmdUndo_Click(2);
			}
			else
			{
				if (e.Control && e.KeyCode == Keys.Y)
				{
					this.cmdRedo_Click(2);
				}
			}
		}
		private void tbLyrics2_KeyUp(object sender, KeyEventArgs e)
		{
			if (e.KeyCode == Keys.F8)
			{
				this.InsertingPresetItem = true;
				gf.InsertIndicator(ref this.tbLyrics2, 152);
				this.InsertingPresetItem = false;
				this.Lyrics_TextChanged(2);
			}
		}
		private void splitContainerRotate_SplitterMoved(object sender, SplitterEventArgs e)
		{
			this.SetRotatePanel();
			if (this.splitContainerRotate.SplitterDistance < 112)
			{
				this.splitContainerRotate.SplitterDistance = 112;
			}
			this.groupBoxRotateVerses.Height = this.splitContainerRotate.Panel1.Height - 2;
			this.panelRotate_Verses.Height = this.groupBoxRotateVerses.Height - 15;
			this.panelRotate_OrderList.Height = this.panelRotate_Verses.Height;
		}
		private void SetRotatePanel()
		{
			if (base.WindowState == FormWindowState.Normal)
			{
				this.splitContainerRotate.FixedPanel = FixedPanel.Panel1;
			}
			else
			{
				if (base.WindowState == FormWindowState.Maximized)
				{
					this.splitContainerRotate.FixedPanel = FixedPanel.None;
				}
			}
		}
		private void UpdateRotateTimePositions()
		{
			TimeSpan timeSpan = new TimeSpan(0, 0, 0);
			timeSpan = this.Rotate_TimeTotal.Value.Subtract(this.InitDateTime);
			this.UpdateRotateTimePositions(this.Rotate_Multiple.Checked ? 2 : 1, (int)this.Rotate_SlidesGapUpDown.Value, (int)timeSpan.TotalSeconds, "", false, false);
		}
		private void UpdateRotateTimePositions(int InStyle, int InGapRotateTime, int InTotalRotateTime, string InRotateTimings, bool UseRotateTimings, bool ResetAll)
		{
			this.flowLayoutRotate.Controls.Clear();
			if (InStyle == 2)
			{
				this.Rotate_Multiple.Checked = true;
			}
			else
			{
				this.Rotate_Equal.Checked = true;
			}
			this.Rotate_SlidesGapUpDown.Value = InGapRotateTime;
			this.Rotate_TimeTotal.Value = this.InitDateTime.Add(new TimeSpan(0, 0, InTotalRotateTime));
			this.RotateTotalScreensIndex = -1;
			for (int i = 0; i < this.Rotate_OrderList.Items.Count; i++)
			{
				int num = this.VersePresentNewScreenCount[gf.StringToInt(this.Rotate_OrderList.Items[i].SubItems[1].Text)];
				for (int j = 0; j < num; j++)
				{
					this.RotateTotalScreensIndex++;
					if (this.RotateTimeLabel[this.RotateTotalScreensIndex] == null)
					{
						this.RotateTimeLabel[this.RotateTotalScreensIndex] = new Label();
						this.RotateTimeLabel[this.RotateTotalScreensIndex].AutoSize = false;
						this.RotateTimeLabel[this.RotateTotalScreensIndex].Width = 48;
						this.RotateTimeLabel[this.RotateTotalScreensIndex].TextAlign = ContentAlignment.MiddleLeft;
					}
					if (this.RotateTimePosition[this.RotateTotalScreensIndex] == null)
					{
						this.RotateTimePosition[this.RotateTotalScreensIndex] = new DateTimePicker();
						this.RotateTimePosition[this.RotateTotalScreensIndex].Width = 52;
						this.RotateTimePosition[this.RotateTotalScreensIndex].ShowUpDown = true;
						this.RotateTimePosition[this.RotateTotalScreensIndex].MinDate = this.InitDateTime;
						this.RotateTimePosition[this.RotateTotalScreensIndex].CustomFormat = "mm:ss";
						this.RotateTimePosition[this.RotateTotalScreensIndex].Format = DateTimePickerFormat.Custom;
						this.RotateTimePosition[this.RotateTotalScreensIndex].Value = this.InitDateTime;
						if (i == 0 && j == 0)
						{
							this.RotateTimePosition[this.RotateTotalScreensIndex].Enabled = false;
						}
					}
					this.RotateTimeLabel[this.RotateTotalScreensIndex].Text = ((j < 1) ? this.Rotate_OrderList.Items[i].Text : " - ");
					this.RotateTimePosition[this.RotateTotalScreensIndex].Tag = ((j < 1) ? this.Rotate_OrderList.Items[i].SubItems[1].Text : 151.ToString());
					if (UseRotateTimings && this.RotateTotalScreensIndex > 0)
					{
						string inString = gf.ExtractOneInfo(ref InRotateTimings, ';', true, false);
						this.RotateTimePosition[this.RotateTotalScreensIndex].Value = this.InitDateTime.Add(new TimeSpan(0, 0, gf.StringToInt(inString)));
					}
					this.flowLayoutRotate.Controls.Add(this.RotateTimeLabel[this.RotateTotalScreensIndex]);
					this.flowLayoutRotate.Controls.Add(this.RotateTimePosition[this.RotateTotalScreensIndex]);
				}
			}
			if (ResetAll)
			{
				for (int i = 0; i < 1024; i++)
				{
					if (this.RotateTimePosition[i] != null)
					{
						this.RotateTimePosition[i].Value = this.InitDateTime;
					}
				}
			}
		}
		private void InitMediaPlayer()
		{
			if (gf.WMP_Present)
			{
				try
				{
					this.DShowPlayer.Parent = this;
					this.DShowPlayer.Parent = this.panelRotate_Media;
					this.DShowPlayer.Location = new Point(0, 0);
					this.DShowPlayer.SetDefaultSize(0, 0, this.panelRotate_Media.Width, this.panelRotate_Media.Height, (gf.VAlign)gf.VideoVAlign);
					this.DShowPlayer.ForeColorChanged += new EventHandler(this.DShowPlayer_ForeColorChanged);
					this.PlayerOK = true;
				}
				catch
				{
					this.PlayerOK = false;
				}
			}
			if (this.PlayerOK)
			{
				this.DShowPlayer.Dock = DockStyle.Fill;
				this.DShowPlayer.newFilename = this.Rotate_tbSourceLocation.Text;
				this.panelNoPlayer.Visible = false;
				this.EnableMediaControls(true);
				this.DShowPlayer.Visible = true;
			}
			else
			{
				this.EnableMediaControls(false);
				this.panelNoPlayer.Dock = DockStyle.Fill;
				this.panelNoPlayer.Visible = true;
			}
		}
		private void DShowPlayer_ForeColorChanged(object sender, EventArgs e)
		{
			switch (this.DShowPlayer.currentState)
			{
			case gf.PlayState.Stopped:
				this.StopBtn.Enabled = false;
				this.PlayPauseBtn.Text = "Play";
				this.Cursor = Cursors.Default;
				break;
			case gf.PlayState.Paused:
				this.PlayPauseBtn.Text = "Play";
				this.Cursor = Cursors.Default;
				break;
			case gf.PlayState.Running:
				this.PlayPauseBtn.Enabled = true;
				this.StopBtn.Enabled = true;
				this.PlayPauseBtn.Text = "Pause";
				this.LabelMediaType.Text = this.DShowPlayer.GetStatusText();
				this.Cursor = Cursors.Default;
				break;
			default:
				this.StopBtn.Enabled = false;
				this.PlayPauseBtn.Text = "Play";
				break;
			}
		}
		private void EnableMediaControls(bool MediaOn)
		{
			bool enabled = MediaOn & this.PlayerOK;
			this.btnDuration.Enabled = enabled;
			this.btnAddPosition.Enabled = enabled;
			this.panelPlayBtns.Enabled = enabled;
			this.TrackBarVolume.Enabled = enabled;
			this.labelVol.Enabled = enabled;
			this.labelPos.Enabled = enabled;
			this.LabelDuration.Enabled = enabled;
			this.LabelPosition.Enabled = enabled;
			this.LabelMediaType.Enabled = enabled;
			this.labelMed.Enabled = enabled;
		}
		private void Rotate_LocationBtn_Click(object sender, EventArgs e)
		{
			this.Rotate_tbSourceLocation.Text = gf.Trim(this.Rotate_tbSourceLocation.Text);
			string text = "";
			try
			{
				text = Path.GetDirectoryName(this.Rotate_tbSourceLocation.Text);
			}
			catch
			{
			}
			text = ((text != "") ? text : gf.MediaDir);
			this.OpenFileDialog1.Filter = "All Files (*.*) | *.*";
			this.OpenFileDialog1.InitialDirectory = text;
			this.OpenFileDialog1.AddExtension = true;
			this.OpenFileDialog1.FileName = this.Rotate_tbSourceLocation.Text;
			bool flag = false;
			try
			{
				if (this.OpenFileDialog1.ShowDialog() == DialogResult.OK)
				{
					this.ApplyPlayControls(FrmInfoScreen.ControlsBtn.Stopbtn);
					this.Rotate_tbSourceLocation.Text = this.OpenFileDialog1.FileName;
					if (this.PlayerOK)
					{
						this.DShowPlayer.newFilename = this.Rotate_tbSourceLocation.Text;
					}
					this.ApplySoundControls(false);
				}
			}
			catch
			{
				flag = true;
			}
			if (flag)
			{
				try
				{
					this.OpenFileDialog1.FileName = "";
					if (this.OpenFileDialog1.ShowDialog() == DialogResult.OK)
					{
						this.ApplyPlayControls(FrmInfoScreen.ControlsBtn.Stopbtn);
						this.Rotate_tbSourceLocation.Text = this.OpenFileDialog1.FileName;
						if (this.PlayerOK)
						{
							this.DShowPlayer.newFilename = this.Rotate_tbSourceLocation.Text;
						}
					}
				}
				catch
				{
				}
			}
		}
		private void ApplyPlayControls(FrmInfoScreen.ControlsBtn InAction)
		{
			if (this.PlayerOK)
			{
				this.TimerFast.Stop();
				if (InAction == FrmInfoScreen.ControlsBtn.PlayPausebtn)
				{
					if (this.DShowPlayer.currentState != gf.PlayState.Running && this.DShowPlayer.currentState != gf.PlayState.Paused)
					{
						this.Rotate_tbSourceLocation.Text = gf.Trim(this.Rotate_tbSourceLocation.Text);
						try
						{
							this.DShowPlayer.newFilename = this.Rotate_tbSourceLocation.Text;
							if (this.DShowPlayer.newFilename != "")
							{
								this.DShowPlayer.OpenClip();
								this.AttemptConnectCount = 0;
								this.LabelMediaType.Text = this.DShowPlayer.GetStatusText();
							}
							else
							{
								this.ResetMediaMessages();
							}
						}
						catch
						{
							this.DShowPlayer.newFilename = "";
							this.ResetMediaMessages();
						}
						return;
					}
					this.DShowPlayer.PausePlayClip();
				}
				else
				{
					if (InAction == FrmInfoScreen.ControlsBtn.Stopbtn)
					{
						this.DShowPlayer.StopClip();
					}
					else
					{
						if (InAction == FrmInfoScreen.ControlsBtn.FFbtn)
						{
							this.ApplySoundControls(true);
							this.IncrementCurrentPosition(1.0);
							this.TimeIncrement = 5.0;
							this.TimerFast.Start();
						}
						else
						{
							if (InAction == FrmInfoScreen.ControlsBtn.FRbtn)
							{
								this.ApplySoundControls(true);
								this.IncrementCurrentPosition(-1.0);
								this.TimeIncrement = -5.0;
								this.TimerFast.Start();
							}
							else
							{
								if (InAction == FrmInfoScreen.ControlsBtn.Closebtn)
								{
									this.DShowPlayer.StopClip();
								}
							}
						}
					}
				}
				this.Cursor = Cursors.Default;
			}
		}
		private void ResetMediaMessages()
		{
			if (this.PlayerOK)
			{
				this.LabelMediaType.Text = this.DShowPlayer.GetStatusText();
			}
			else
			{
				this.LabelMediaType.Text = "";
			}
			this.Cursor = Cursors.Default;
		}
		private void SetDurationSettings()
		{
			if (this.PlayerOK && this.DShowPlayer.GetClipDuration() > 0)
			{
				this.SetDurationSettings(false);
			}
			else
			{
				this.SetDurationSettings(true);
			}
		}
		private void SetDurationSettings(bool ResetAll)
		{
			if (ResetAll)
			{
				if (this.LabelMediaType.Text != "" && (this.LabelMediaType.Text[0] == 'A' | this.LabelMediaType.Text[0] == 'V'))
				{
					this.LabelDuration.Text = "Stream";
				}
				else
				{
					this.LabelDuration.Text = "00:00";
				}
				this.LabelPosition.Text = "00:00";
				this.TrackBarDuration.Maximum = 0;
				this.TrackBarDuration.Value = 0;
			}
			else
			{
				if (this.PlayerOK)
				{
					this.LabelDuration.Text = ((this.DShowPlayer.newFilename != "") ? this.DShowPlayer.GetClipDurationString() : "00:00");
					this.CurMediaPosition = (double)this.DShowPlayer.GetCurrentPosition();
					this.CurMediaLength = (double)this.DShowPlayer.GetClipDuration();
					this.LabelPosition.Text = this.DShowPlayer.GetCurrentPositionString();
					this.TrackBarDuration.Maximum = this.DShowPlayer.GetClipDuration();
					this.TrackBarDuration.Value = ((this.DShowPlayer.GetCurrentPosition() > this.TrackBarDuration.Maximum) ? this.TrackBarDuration.Maximum : this.DShowPlayer.GetCurrentPosition());
				}
				else
				{
					this.LabelDuration.Text = "00:00";
					this.LabelPosition.Text = "00:00";
					this.TrackBarDuration.Maximum = 1000;
					this.TrackBarDuration.Value = 0;
				}
			}
		}
		private void ApplySoundControls(bool ApplyMute)
		{
			if (this.PlayerOK)
			{
				this.DShowPlayer.SetVolume(this.TrackBarVolume.Value);
				gf.MediaVolume = this.TrackBarVolume.Value;
			}
		}
		private void PlayPauseBtn_Click(object sender, EventArgs e)
		{
			this.ApplyPlayControls(FrmInfoScreen.ControlsBtn.PlayPausebtn);
		}
		private void StopBtn_Click(object sender, EventArgs e)
		{
			this.ApplyPlayControls(FrmInfoScreen.ControlsBtn.Stopbtn);
		}
		private void FastReverseBtn_MouseDown(object sender, MouseEventArgs e)
		{
			this.ApplyPlayControls(FrmInfoScreen.ControlsBtn.FRbtn);
		}
		private void FastReverseBtn_MouseUp(object sender, MouseEventArgs e)
		{
			this.ReturnToPreviousState();
		}
		private void FastForwardBtn_MouseDown(object sender, MouseEventArgs e)
		{
			this.ApplyPlayControls(FrmInfoScreen.ControlsBtn.FFbtn);
		}
		private void FastForwardBtn_MouseUp(object sender, MouseEventArgs e)
		{
			this.ReturnToPreviousState();
		}
		private void ReturnToPreviousState()
		{
			this.TimerFast.Stop();
			this.ApplySoundControls(false);
		}
		private void TimerTrack_Tick(object sender, EventArgs e)
		{
			this.SetDurationSettings();
		}
		private void TrackBarDuration_Scroll(object sender, EventArgs e)
		{
			if (this.PlayerOK)
			{
				this.DShowPlayer.SetCurrentPosition((double)this.TrackBarDuration.Value);
			}
		}
		private void TrackBarVolume_ValueChanged(object sender, EventArgs e)
		{
			if (!this.InitLoad)
			{
				this.ApplySoundControls(false);
			}
		}
		private void btnAddPosition_Click(object sender, EventArgs e)
		{
			if (this.RotateTotalScreensIndex > 0)
			{
				DateTime value = this.InitDateTime.Add(new TimeSpan(0, 0, (int)this.CurMediaPosition));
				for (int i = 1; i < this.RotateTotalScreensIndex + 1; i++)
				{
					if (this.RotateTimePosition[i].Value <= this.InitDateTime)
					{
						this.RotateTimePosition[i].Value = value;
						break;
					}
				}
			}
		}
		private void Rotate_Option_CheckedChanged(object sender, EventArgs e)
		{
			this.MediaOption_Changed();
		}
		private void MediaOption_Changed()
		{
			this.EnableMediaControls(this.Rotate_Multiple.Checked & this.PlayerOK);
			this.panelRotateLeftTop2.Enabled = this.Rotate_Multiple.Checked;
			this.flowLayoutRotate.Enabled = this.Rotate_Multiple.Checked;
			this.groupBoxRotateVerses.Enabled = this.Rotate_Multiple.Checked;
			this.Rotate_tbSourceLocation.Enabled = this.Rotate_Multiple.Checked;
			this.panelLoc.Enabled = this.Rotate_Multiple.Checked;
			if (this.Rotate_Multiple.Checked)
			{
				this.ApplyPlayControls(FrmInfoScreen.ControlsBtn.Closebtn);
			}
		}
		private void btnClearMediaPositions_Click(object sender, EventArgs e)
		{
			if (this.RotateTotalScreensIndex >= 0)
			{
				for (int i = 0; i <= this.RotateTotalScreensIndex; i++)
				{
					if (this.RotateTimePosition[i] != null)
					{
						this.RotateTimePosition[i].Value = this.InitDateTime;
					}
				}
			}
			this.Rotate_TimeTotal.Value = this.InitDateTime;
		}
		private void TimerFast_Tick(object sender, EventArgs e)
		{
			this.IncrementCurrentPosition(this.TimeIncrement);
		}
		private void IncrementCurrentPosition(double InIncrement)
		{
			if (this.PlayerOK)
			{
				this.DShowPlayer.SetCurrentPosition((double)this.DShowPlayer.GetCurrentPosition() + InIncrement);
				this.SetDurationSettings();
			}
		}
		private void panelRotate_Sample_Resize(object sender, EventArgs e)
		{
			this.Rotate_tbSourceLocation.Width = this.panelRotate_Sample.Width - this.Rotate_tbSourceLocation.Left - this.panelLoc.Width - 6;
			this.panelLoc.Left = this.Rotate_tbSourceLocation.Left + this.Rotate_tbSourceLocation.Width + 2;
		}
		private string GenerateRotateString()
		{
			TimeSpan timeSpan = new TimeSpan(0, 0, 0);
			timeSpan = this.Rotate_TimeTotal.Value.Subtract(this.InitDateTime);
			return this.GenerateRotateString(this.Rotate_Equal.Checked ? 1 : 2, (int)this.Rotate_SlidesGapUpDown.Value, (int)timeSpan.TotalSeconds, this.Rotate_OrderList, this.RotateTimePosition, this.RotateTotalScreensIndex + 1);
		}
		private string GenerateRotateString(int InStyle, int InGapRotateTime, int InTotalRotateTime, ListView InOrderList, DateTimePicker[] InPosition, int InTotalScreens)
		{
			string result;
			if (InStyle == 1 && InGapRotateTime == 0 && InTotalRotateTime == 0 && InOrderList.Items.Count == 0)
			{
				result = "";
			}
			else
			{
				string text = string.Concat(new object[]
				{
					InStyle.ToString(),
					';',
					InGapRotateTime.ToString(),
					';',
					InTotalRotateTime.ToString(),
					';'
				});
				for (int i = 0; i < InOrderList.Items.Count; i++)
				{
					text = text + gf.StringToInt(InOrderList.Items[i].SubItems[1].Text).ToString() + ';';
				}
				if (InTotalScreens > 0)
				{
					ListBox listBox = new ListBox();
					listBox.Sorted = false;
					TimeSpan timeSpan = new TimeSpan(0, 0, 0);
					for (int i = 0; i < InTotalScreens; i++)
					{
						if (InPosition[i] != null)
						{
							timeSpan = InPosition[i].Value.Subtract(this.InitDateTime);
							if ((int)timeSpan.TotalSeconds > 0)
							{
								listBox.Items.Add(timeSpan.TotalSeconds.ToString("00000"));
							}
						}
					}
					if (listBox.Items.Count > 0)
					{
						listBox.Sorted = true;
						string text2 = "";
						for (int i = 0; i < listBox.Items.Count; i++)
						{
							text2 = text2 + gf.StringToInt(listBox.Items[i].ToString()).ToString() + ';';
						}
						text = text + "»" + text2;
					}
				}
				result = text;
			}
			return result;
		}
		private void TimerAttemptConnect_Tick(object sender, EventArgs e)
		{
			if (this.PlayerOK)
			{
				if (this.AttemptConnectCount >= this.MaxAttemptConnectCount)
				{
					this.TimerAttemptConnect.Stop();
					this.LabelMediaType.Text = this.DShowPlayer.GetStatusText();
					this.DShowPlayer.StopClip();
					this.Cursor = Cursors.Default;
				}
				else
				{
					this.Cursor = Cursors.AppStarting;
					this.AttemptConnectCount++;
					this.LabelMediaType.Text = this.DShowPlayer.GetStatusText();
				}
			}
			else
			{
				this.TimerAttemptConnect.Stop();
				this.SetDurationSettings(true);
			}
		}
		private void CopyVerseListToRotateVerseList()
		{
			if (this.VersesList.Items.Count > 0)
			{
				ListViewItem value = new ListViewItem();
				this.Rotate_VersesList.Items.Clear();
				for (int i = 0; i < this.VersesList.Items.Count; i++)
				{
					value = (ListViewItem)this.VersesList.Items[i].Clone();
					this.Rotate_VersesList.Items.Add(value);
				}
			}
			else
			{
				this.Rotate_VersesList.Items.Clear();
			}
		}
		private void Rotate_Verses_Add_Click(object sender, EventArgs e)
		{
			ToolStripButton toolStripButton = (ToolStripButton)sender;
			string text = "";
			if (toolStripButton.Name == "Rotate_Verses_Add")
			{
				this.AddBtn_Click(ref this.Rotate_VersesList, ref this.Rotate_OrderList, ref text);
			}
			else
			{
				this.SmartAddBtn_Click(ref this.Rotate_OrderList, ref text);
			}
		}
		private void Rotate_VersesList_DoubleClick(object sender, EventArgs e)
		{
			string text = "";
			if (this.Rotate_VersesList.SelectedItems.Count > 0)
			{
				this.AddBtn_Click(ref this.Rotate_VersesList, ref this.Rotate_OrderList, ref text);
			}
		}
		private void Rotate_OrderList_Btn_Click(object sender, EventArgs e)
		{
			ToolStripButton toolStripButton = (ToolStripButton)sender;
			string text = "";
			if (toolStripButton.Name == "Rotate_OrderList_Up")
			{
				this.MoveUPBtn_Click(ref this.Rotate_OrderList, ref text);
			}
			else
			{
				if (toolStripButton.Name == "Rotate_OrderList_Down")
				{
					this.MoveDownBtn_Click(ref this.Rotate_OrderList, ref text);
				}
				else
				{
					this.DelBtn_Click(ref this.Rotate_OrderList, ref text);
				}
			}
		}
		private void Rotate_OrderList_KeyUp(object sender, KeyEventArgs e)
		{
			string text = "";
			this.Action_OrderList_KeyUpEvent(ref this.Rotate_OrderList, e, ref text);
		}
		private void btnDuration_Click(object sender, EventArgs e)
		{
			DateTime value = this.InitDateTime.Add(new TimeSpan(0, 0, (int)this.CurMediaLength));
			this.Rotate_TimeTotal.Value = value;
		}
		private void CMRegion1_Copy_Click(object sender, EventArgs e)
		{
			gf.ClipboardCopyTextBox(this.tbLyrics1);
		}
		private void CMRegion1_Paste_Click(object sender, EventArgs e)
		{
			gf.ClipboardPasteTextBox(this.tbLyrics1, this.tbLyrics1.SelectionStart);
		}
		private void CMRegion2_Copy_Click(object sender, EventArgs e)
		{
			gf.ClipboardCopyTextBox(this.tbLyrics2);
		}
		private void CMRegion2_Paste_Click(object sender, EventArgs e)
		{
			gf.ClipboardPasteTextBox(this.tbLyrics2, this.tbLyrics2.SelectionStart);
		}
		private void ShowAllButtons(bool ShowAllBtns)
		{
			this.Menu_ShowAllButtons.Checked = ShowAllBtns;
			gf.InfoMainShowAllButtons = ShowAllBtns;
			gf.SaveRegValue("settings", "InfoMainShowAllButtons", gf.InfoMainShowAllButtons ? 1 : 0);
			this.panelR1LeftMiddle.Visible = ShowAllBtns;
			this.panelR2LeftMiddle.Visible = ShowAllBtns;
		}
		private void BuildLyricsContextMenu(int InRegion)
		{
			if (InRegion != 1)
			{
				this.BuildContextMenuItems(ref this.CMRegion2, InRegion, this.SetChordsMenu);
			}
			else
			{
				this.BuildContextMenuItems(ref this.CMRegion1, InRegion, this.SetChordsMenu);
			}
		}
		private void BuildContextMenuItems(ref ContextMenuStrip InContextMenu, int InRegion, bool InSetChordsMenu)
		{
			InContextMenu.Items.Clear();
			ToolStripMenuItem toolStripMenuItem = new ToolStripMenuItem();
			toolStripMenuItem = new ToolStripMenuItem();
			toolStripMenuItem.Name = InContextMenu + "_Copy";
			toolStripMenuItem.Text = "Copy";
			InContextMenu.Items.Add(toolStripMenuItem);
			if (InRegion == 1)
			{
                //toolStripMenuItem.Click += new EventHandler(new EventHandler(this, ldftn(CMRegion1_Copy_Click)).Invoke);
			}
			else
			{
                //toolStripMenuItem.Click += new EventHandler(new EventHandler(this, ldftn(CMRegion2_Copy_Click)).Invoke);
			}
			toolStripMenuItem = new ToolStripMenuItem();
			toolStripMenuItem.Name = InContextMenu + "_Paste";
			toolStripMenuItem.Text = "Paste";
			InContextMenu.Items.Add(toolStripMenuItem);
			if (InRegion == 1)
			{
                //toolStripMenuItem.Click += new EventHandler(new EventHandler(this, ldftn(CMRegion1_Paste_Click)).Invoke);
			}
			else
			{
                //toolStripMenuItem.Click += new EventHandler(new EventHandler(this, ldftn(CMRegion2_Paste_Click)).Invoke);
			}
			if (InSetChordsMenu)
			{
				ToolStripSeparator value = new ToolStripSeparator();
				value = new ToolStripSeparator();
				InContextMenu.Items.Add(value);
				ToolStripMenuItem toolStripMenuItem2 = new ToolStripMenuItem();
				toolStripMenuItem2 = new ToolStripMenuItem();
				toolStripMenuItem2.Text = "Minor";
				InContextMenu.Items.Add(toolStripMenuItem2);
				for (int i = 0; i < 12; i++)
				{
					toolStripMenuItem = new ToolStripMenuItem();
					toolStripMenuItem.Text = gf.MusicMinorChords[i, 0];
					toolStripMenuItem.Tag = InRegion.ToString();
					toolStripMenuItem2.DropDownItems.Add(toolStripMenuItem);
					toolStripMenuItem.Click += new EventHandler(this.ContextMenuChords_Click);
					if (i == 1 || i == 3 || i == 6 || i == 8 || i == 11)
					{
						toolStripMenuItem = new ToolStripMenuItem();
						toolStripMenuItem.Text = gf.MusicMinorChords[i, 1];
						toolStripMenuItem.Tag = InRegion.ToString();
						toolStripMenuItem2.DropDownItems.Add(toolStripMenuItem);
						toolStripMenuItem.Click += new EventHandler(this.ContextMenuChords_Click);
					}
				}
				toolStripMenuItem2 = new ToolStripMenuItem();
				toolStripMenuItem2.Text = "Minor 7th";
				InContextMenu.Items.Add(toolStripMenuItem2);
				for (int i = 0; i < 12; i++)
				{
					toolStripMenuItem = new ToolStripMenuItem();
					toolStripMenuItem.Text = gf.MusicMinorChords[i, 0] + "7";
					toolStripMenuItem.Tag = InRegion.ToString();
					toolStripMenuItem2.DropDownItems.Add(toolStripMenuItem);
					toolStripMenuItem.Click += new EventHandler(this.ContextMenuChords_Click);
					if (i == 1 || i == 3 || i == 6 || i == 8 || i == 11)
					{
						toolStripMenuItem = new ToolStripMenuItem();
						toolStripMenuItem.Text = gf.MusicMinorChords[i, 1] + "7";
						toolStripMenuItem.Tag = InRegion.ToString();
						toolStripMenuItem2.DropDownItems.Add(toolStripMenuItem);
						toolStripMenuItem.Click += new EventHandler(this.ContextMenuChords_Click);
					}
				}
				toolStripMenuItem2 = new ToolStripMenuItem();
				toolStripMenuItem2.Text = "Major 7th";
				InContextMenu.Items.Add(toolStripMenuItem2);
				for (int i = 0; i < 12; i++)
				{
					toolStripMenuItem = new ToolStripMenuItem();
					toolStripMenuItem.Text = gf.MusicMajorChords[i, 1] + "7";
					toolStripMenuItem.Tag = InRegion.ToString();
					toolStripMenuItem2.DropDownItems.Add(toolStripMenuItem);
					toolStripMenuItem.Click += new EventHandler(this.ContextMenuChords_Click);
					if (i == 1 || i == 3 || i == 6 || i == 8 || i == 11)
					{
						toolStripMenuItem = new ToolStripMenuItem();
						toolStripMenuItem.Text = gf.MusicMajorChords[i, 0] + "7";
						toolStripMenuItem.Tag = InRegion.ToString();
						toolStripMenuItem2.DropDownItems.Add(toolStripMenuItem);
						toolStripMenuItem.Click += new EventHandler(this.ContextMenuChords_Click);
					}
				}
				toolStripMenuItem2 = new ToolStripMenuItem();
				toolStripMenuItem2.Text = "Bass";
				InContextMenu.Items.Add(toolStripMenuItem2);
				for (int i = 0; i < 12; i++)
				{
					toolStripMenuItem = new ToolStripMenuItem();
					toolStripMenuItem.Text = "/" + gf.MusicMajorChords[i, 1];
					toolStripMenuItem.Tag = InRegion.ToString();
					toolStripMenuItem2.DropDownItems.Add(toolStripMenuItem);
					toolStripMenuItem.Click += new EventHandler(this.ContextMenuChords_Click);
				}
				for (int i = 0; i < 12; i++)
				{
					toolStripMenuItem = new ToolStripMenuItem();
					toolStripMenuItem.Text = gf.MusicMajorChords[i, 1];
					toolStripMenuItem.Tag = InRegion.ToString();
					InContextMenu.Items.Add(toolStripMenuItem);
					toolStripMenuItem.Click += new EventHandler(this.ContextMenuChords_Click);
					if (i == 1 || i == 3 || i == 6 || i == 8 || i == 11)
					{
						toolStripMenuItem = new ToolStripMenuItem();
						toolStripMenuItem.Text = gf.MusicMajorChords[i, 0];
						toolStripMenuItem.Tag = InRegion.ToString();
						InContextMenu.Items.Add(toolStripMenuItem);
						toolStripMenuItem.Click += new EventHandler(this.ContextMenuChords_Click);
					}
				}
			}
		}
		private void ContextMenuChords_Click(object sender, EventArgs e)
		{
			try
			{
				ToolStripMenuItem toolStripMenuItem = (ToolStripMenuItem)sender;
				if (gf.ObjToInt(toolStripMenuItem.Tag) == 1)
				{
					this.tbLyrics1.SelectionStart = this.tbLyrics1MouseUpPos;
					this.tbLyrics1.SelectionLength = 0;
					this.InsertingPresetItem = true;
					gf.InsertChordAboveCurrentLine(ref this.tbLyrics1, toolStripMenuItem.Text);
					this.InsertingPresetItem = false;
					this.Lyrics_TextChanged(1);
				}
				else
				{
					this.tbLyrics2.SelectionStart = this.tbLyrics2MouseUpPos;
					this.tbLyrics2.SelectionLength = 0;
					this.InsertingPresetItem = true;
					gf.InsertChordAboveCurrentLine(ref this.tbLyrics2, toolStripMenuItem.Text);
					this.InsertingPresetItem = false;
					this.Lyrics_TextChanged(2);
				}
			}
			catch
			{
			}
		}
		private void RightToLeft_Click(object sender, EventArgs e)
		{
			CheckBox checkBox = (CheckBox)sender;
			string name = checkBox.Name;
			if (name == "R1RightToLeft")
			{
				this.SetRightToLeftAtRegion(1, checkBox.Checked);
			}
			else
			{
				if (name == "R2RightToLeft")
				{
					this.SetRightToLeftAtRegion(2, checkBox.Checked);
				}
			}
		}
		private void SetRightToLeftAtRegion(int InRegion, bool IsTrue)
		{
			if (InRegion != 1)
			{
				this.SetRightToLeft2 = IsTrue;
				this.tbLyrics2.RightToLeft = (IsTrue ? RightToLeft.Yes : RightToLeft.No);
				this.ClearErrorMessage(2);
				this.tbLyrics2.Invalidate();
			}
			else
			{
				this.SetRightToLeft1 = IsTrue;
				this.tbLyrics1.RightToLeft = (IsTrue ? RightToLeft.Yes : RightToLeft.No);
				this.ClearErrorMessage(1);
				this.tbLyrics1.Invalidate();
			}
		}
		private void tbLyrics1_MouseUp(object sender, MouseEventArgs e)
		{
			if (e.Button == MouseButtons.Right)
			{
				int charIndexFromPosition = this.tbLyrics1.GetCharIndexFromPosition(new Point(e.X, e.Y));
				this.tbLyrics1MouseUpPos = charIndexFromPosition;
			}
		}
		private void tbLyrics2_MouseUp(object sender, MouseEventArgs e)
		{
			if (e.Button == MouseButtons.Right)
			{
				int charIndexFromPosition = this.tbLyrics2.GetCharIndexFromPosition(new Point(e.X, e.Y));
				this.tbLyrics2MouseUpPos = charIndexFromPosition;
			}
		}
		private void Main_ChordsMenu_Click(object sender, EventArgs e)
		{
			this.SetMenuChordsMenu(this.Main_ChordsMenu.Checked);
		}
		private void Menu_ChordsMenu_Click(object sender, EventArgs e)
		{
			this.SetMenuChordsMenu(this.Menu_ChordsMenu.Checked);
		}
		private void SetMenuChordsMenu(bool IsChecked)
		{
			this.SetChordsMenu = IsChecked;
			this.Main_ChordsMenu.Checked = this.SetChordsMenu;
			this.Menu_ChordsMenu.Checked = this.SetChordsMenu;
			this.BuildLyricsContextMenu(1);
			this.BuildLyricsContextMenu(2);
		}
	}
}
